public class EnhancerJavaModel extends ReflectionJavaModel
declaringJavaModelFactorychildren, jdoModel, parent, types| Constructor and Description |
|---|
EnhancerJavaModel(java.lang.ClassLoader classLoader,
ResourceLocator locator)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
affirm(boolean condition,
java.lang.String msg) |
protected JavaType |
createJavaType(java.lang.Class clazz)
Creates a new JavaType instance for the specified Class object.
|
java.io.InputStream |
getInputStreamForResource(java.lang.String resourceName)
Finds a resource with a given name.
|
java.lang.String |
getTypeName(java.lang.String sig)
Returns the fully qualified name of the specified type representation.
|
getClassLoader, getDeclaringJavaModelFactory, getJavaType, getJavaType, getJavaTypeInternalgetChildren, getJDOModel, getParent, setJDOModel, setParentpublic EnhancerJavaModel(java.lang.ClassLoader classLoader,
ResourceLocator locator)
public java.io.InputStream getInputStreamForResource(java.lang.String resourceName)
null if no resource with this name is found.
The name of a resource is a "/"-separated path name.getInputStreamForResource in interface JavaModelgetInputStreamForResource in class ReflectionJavaModelresourceName - the resource namenull
if the resource could not be found or if the caller doesn't have
adequate privileges to get the resource.protected JavaType createJavaType(java.lang.Class clazz)
This implementation returns a EnhancerJavaType instance.
createJavaType in class ReflectionJavaModelclazz - the Class instance representing the typepublic java.lang.String getTypeName(java.lang.String sig)
protected static final void affirm(boolean condition,
java.lang.String msg)
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.