Neo4j Enterprise

org.neo4j.kernel.configuration
Class AnnotatedFieldHarvester

java.lang.Object
  extended by org.neo4j.kernel.configuration.AnnotatedFieldHarvester

public class AnnotatedFieldHarvester
extends Object


Constructor Summary
AnnotatedFieldHarvester()
           
 
Method Summary
<T> Iterable<Pair<Field,T>>
findStatic(Class<?> clazz, Class<T> type)
          Find all static fields of a given type.
<T> Iterable<Pair<Field,T>>
findStatic(Class<?> clazz, Class<T> type, Class annotation)
          Find all static fields of a given type, annotated with some given annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedFieldHarvester

public AnnotatedFieldHarvester()
Method Detail

findStatic

public <T> Iterable<Pair<Field,T>> findStatic(Class<?> clazz,
                                              Class<T> type,
                                              Class annotation)
Find all static fields of a given type, annotated with some given annotation.

Parameters:
type -
annotation -

findStatic

public <T> Iterable<Pair<Field,T>> findStatic(Class<?> clazz,
                                              Class<T> type)
Find all static fields of a given type.

Parameters:
type -

Neo4j Enterprise

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.