org.glassfish.hk2.classmodel.reflect
Class ParsingContext

java.lang.Object
  extended by 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
static class ParsingContext.Builder
          Context builder
 
Method Summary
 org.objectweb.asm.ClassVisitor getClassVisitor(URI uri, String entryName)
           
 ParsingConfig getConfig()
           
 ResourceLocator getLocator()
           
 TypeBuilder getTypeBuilder(URI definingURI)
           
 Types getTypes()
          Return the holder instance of all the visited types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 the Parser.awaitTermination() has returned.

Returns:
the visited types.

getLocator

public ResourceLocator getLocator()

getClassVisitor

public org.objectweb.asm.ClassVisitor getClassVisitor(URI uri,
                                                      String entryName)

getConfig

public ParsingConfig getConfig()


Copyright © 2013 Oracle Corporation. All Rights Reserved.