org.glassfish.hk2.inhabitants
Class InhabitantIntrospectionScanner
java.lang.Object
org.glassfish.hk2.inhabitants.InhabitantIntrospectionScanner
- All Implemented Interfaces:
- Iterable<InhabitantParser>
public class InhabitantIntrospectionScanner
- extends Object
- implements Iterable<InhabitantParser>
Inhabitant scanner based on introspection information rather than statically
generated inhabitant file
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InhabitantIntrospectionScanner
public InhabitantIntrospectionScanner(ParsingContext context)
isContract
public boolean isContract(AnnotatedElement type)
findInterfaceContracts
public void findInterfaceContracts(InterfaceModel im,
Set<String> interfaces,
Set<String> annInterfaces)
findContractsFromAnnotations
public void findContractsFromAnnotations(AnnotatedElement ae,
Set<String> interfaces,
Set<String> annInterfaces)
scrub
public static String scrub(Object obj)
findContracts
public void findContracts(ClassModel cm,
Set<String> contracts,
Set<String> annotationTypeInterfaces)
populateExtraInhabitantMetaData
public static void populateExtraInhabitantMetaData(MultiMap<String,String> dest,
AnnotatedElement ae)
- Retrieves the "extra" meta data from drilling into each annotation's methods.
- Parameters:
dest
- ae
-
iterator
public Iterator<InhabitantParser> iterator()
- Specified by:
iterator
in interface Iterable<InhabitantParser>
Copyright © 2013 Oracle Corporation. All Rights Reserved.