Class ParsingContext
- java.lang.Object
-
- org.glassfish.hk2.classmodel.reflect.ParsingContext
-
public class ParsingContext extends Object
Parsing context for parsing jars and directories and getting a classmodel back- Author:
- Jerome Dochez
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ParsingContext.Builder
Context builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.ClassVisitor
getClassVisitor(URI uri, String entryName)
org.objectweb.asm.ClassVisitor
getClassVisitor(URI uri, String entryName, boolean isApplicationClass)
ParsingConfig
getConfig()
ResourceLocator
getLocator()
TypeBuilder
getTypeBuilder(URI definingURI)
Types
getTypes()
Return the holder instance of all the visited types.
-
-
-
Method Detail
-
getTypeBuilder
public TypeBuilder getTypeBuilder(URI definingURI)
-
getTypes
public Types getTypes()
Return the holder instance of all the visited types. This should only be called once theParser.awaitTermination()
has returned.- Returns:
- the visited types.
-
getLocator
public ResourceLocator getLocator()
-
getClassVisitor
public org.objectweb.asm.ClassVisitor getClassVisitor(URI uri, String entryName, boolean isApplicationClass)
-
getConfig
public ParsingConfig getConfig()
-
-