org.glassfish.hk2.classmodel.reflect.util
Interface ParsingConfig


public interface ParsingConfig

Filters the parsing activity to only deeply parse classes that are either annotated with an annotation returned by getAnnotationsOfInterest() or implements/subclass a type returned by getTypesOfInterest(). A class identified to be deeply parsed will contain all the metadata about its members like fields, methods as well as annotations on those.

Author:
Jerome Dochez

Method Summary
 java.util.Set<java.lang.String> getAnnotationsOfInterest()
          Returns a list of annotations that should trigger an exhaustive visit of the annotated type.
 java.util.Set<java.lang.String> getTypesOfInterest()
          Returns a list of types (classes or interfaces) that a type must either subclass or implement to trigger an exhaustive scanning
 

Method Detail

getAnnotationsOfInterest

java.util.Set<java.lang.String> getAnnotationsOfInterest()
Returns a list of annotations that should trigger an exhaustive visit of the annotated type.

Returns:
list of annotations that triggers an exhaustive scanning of the annotated type

getTypesOfInterest

java.util.Set<java.lang.String> getTypesOfInterest()
Returns a list of types (classes or interfaces) that a type must either subclass or implement to trigger an exhaustive scanning

Returns:
list of types that will trigger an exhaustive scanning.


Copyright © 2010 Oracle Corporation. All Rights Reserved.