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
 Set<String> getAnnotationsOfInterest()
          Returns a list of annotations that should trigger an exhaustive visit of the annotated type.
 Set<String> getTypesOfInterest()
          Returns a list of types (classes or interfaces) that a type must either subclass or implement to trigger an exhaustive scanning
 boolean modelUnAnnotatedMembers()
          Returns true if unannotated fields and methods should be part of the model returned.
 

Method Detail

getAnnotationsOfInterest

Set<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

Set<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.

modelUnAnnotatedMembers

boolean modelUnAnnotatedMembers()
Returns true if unannotated fields and methods should be part of the model returned.

Returns:
true if unannotated fields and methods will be accessible from the returned Types model.


Copyright © 2013 Oracle Corporation. All Rights Reserved.