public interface ClassLibrary
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
JavaClass |
getJavaClass(java.lang.String name)
Get the JavaClass or null if it's not possible
|
JavaClass |
getJavaClass(java.lang.String name,
boolean createStub)
Try to retrieve the JavaClass by the (binary) name.
|
java.util.Collection<JavaClass> |
getJavaClasses()
Return all JavaClasses of the current library.
|
java.util.Collection<JavaModule> |
getJavaModules() |
JavaPackage |
getJavaPackage(java.lang.String name)
Get the JavaPackage or null if it's not possible
|
java.util.Collection<JavaPackage> |
getJavaPackages()
Return all JavaPackages of the current library.
|
java.util.Collection<JavaSource> |
getJavaSources()
Return all JavaSources of the current library.
|
boolean |
hasClassReference(java.lang.String name)
Check if this library holds a reference based on the name.
|
boolean hasClassReference(java.lang.String name)
name - the (binary) name trying to resolvefalseJavaClass getJavaClass(java.lang.String name)
name - The (binary) name of the JavaClassnullJavaClass getJavaClass(java.lang.String name, boolean createStub)
true make a stub, otherwise return nullname - the name of the classcreateStub - force creation of a stub if the class can't be foundnull depending on the value of createStub.java.util.Collection<JavaClass> getJavaClasses()
nulljava.util.Collection<JavaSource> getJavaSources()
nullJavaPackage getJavaPackage(java.lang.String name)
name - The fully qualified name of the JavaPackagenulljava.util.Collection<JavaPackage> getJavaPackages()
nulljava.util.Collection<JavaModule> getJavaModules()
Copyright © 2002-2018. All Rights Reserved.