org.glassfish.hk2.inhabitants
Class InhabitantIntrospectionScanner
java.lang.Object
org.glassfish.hk2.inhabitants.InhabitantIntrospectionScanner
- All Implemented Interfaces:
- java.lang.Iterable<InhabitantParser>
public class InhabitantIntrospectionScanner
- extends java.lang.Object
- implements java.lang.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,
java.util.Set<java.lang.String> interfaces,
java.util.Set<java.lang.String> annInterfaces)
findContractsFromAnnotations
public void findContractsFromAnnotations(AnnotatedElement ae,
java.util.Set<java.lang.String> interfaces,
java.util.Set<java.lang.String> annInterfaces)
scrub
public static java.lang.String scrub(java.lang.Object obj)
findContracts
public void findContracts(ClassModel cm,
java.util.Set<java.lang.String> contracts,
java.util.Set<java.lang.String> annotationTypeInterfaces)
populateExtraInhabitantMetaData
public static void populateExtraInhabitantMetaData(MultiMap<java.lang.String,java.lang.String> dest,
AnnotatedElement ae)
- Retrieves the "extra" meta data from drilling into each annotation's methods.
- Parameters:
dest - ae -
iterator
public java.util.Iterator<InhabitantParser> iterator()
- Specified by:
iterator in interface java.lang.Iterable<InhabitantParser>
Copyright © 2012 Oracle Corporation. All Rights Reserved.