public class ReflectionBasedReferenceTypeDelegate extends java.lang.Object implements ReferenceTypeDelegate
| Modifier and Type | Field and Description |
|---|---|
protected WeakClassLoaderReference |
classLoaderReference |
protected java.lang.Class |
myClass |
protected World |
world |
| Constructor and Description |
|---|
ReflectionBasedReferenceTypeDelegate()
for reflective construction only
|
ReflectionBasedReferenceTypeDelegate(java.lang.Class forClass,
java.lang.ClassLoader aClassLoader,
World inWorld,
ReferenceType resolvedType) |
protected java.lang.Class myClass
protected WeakClassLoaderReference classLoaderReference
protected World world
public ReflectionBasedReferenceTypeDelegate(java.lang.Class forClass,
java.lang.ClassLoader aClassLoader,
World inWorld,
ReferenceType resolvedType)
public ReflectionBasedReferenceTypeDelegate()
public void initialize(ReferenceType aType, java.lang.Class aClass, java.lang.ClassLoader aClassLoader, World aWorld)
public java.lang.Class<?> getClazz()
protected java.lang.Class getBaseClass()
protected World getWorld()
public ReferenceType buildGenericType()
public boolean isAspect()
isAspect in interface ReferenceTypeDelegatepublic boolean isAnnotationStyleAspect()
isAnnotationStyleAspect in interface ReferenceTypeDelegatepublic boolean isInterface()
isInterface in interface ReferenceTypeDelegatepublic boolean isEnum()
isEnum in interface ReferenceTypeDelegatepublic boolean isAnnotationWithRuntimeRetention()
isAnnotationWithRuntimeRetention in interface ReferenceTypeDelegatepublic boolean isAnnotation()
isAnnotation in interface ReferenceTypeDelegatepublic java.lang.String getRetentionPolicy()
getRetentionPolicy in interface ReferenceTypeDelegatepublic boolean canAnnotationTargetType()
canAnnotationTargetType in interface ReferenceTypeDelegatepublic AnnotationTargetKind[] getAnnotationTargetKinds()
getAnnotationTargetKinds in interface ReferenceTypeDelegatepublic boolean isClass()
isClass in interface ReferenceTypeDelegatepublic boolean isGeneric()
isGeneric in interface ReferenceTypeDelegatepublic boolean isAnonymous()
isAnonymous in interface ReferenceTypeDelegatepublic boolean isNested()
isNested in interface ReferenceTypeDelegatepublic ResolvedType getOuterClass()
getOuterClass in interface ReferenceTypeDelegatepublic boolean isExposedToWeaver()
isExposedToWeaver in interface ReferenceTypeDelegatepublic boolean hasAnnotation(UnresolvedType ofType)
hasAnnotation in interface ReferenceTypeDelegatepublic AnnotationAJ[] getAnnotations()
getAnnotations in interface ReferenceTypeDelegatepublic boolean hasAnnotations()
hasAnnotations in interface ReferenceTypeDelegatepublic ResolvedType[] getAnnotationTypes()
getAnnotationTypes in interface ReferenceTypeDelegatepublic ResolvedMember[] getDeclaredFields()
getDeclaredFields in interface ReferenceTypeDelegatepublic ResolvedType[] getDeclaredInterfaces()
getDeclaredInterfaces in interface ReferenceTypeDelegatepublic boolean isCacheable()
ReferenceTypeDelegateisCacheable in interface ReferenceTypeDelegatepublic ResolvedMember[] getDeclaredMethods()
getDeclaredMethods in interface ReferenceTypeDelegatepublic ResolvedMember[] getDeclaredPointcuts()
getDeclaredPointcuts in interface ReferenceTypeDelegatepublic TypeVariable[] getTypeVariables()
getTypeVariables in interface ReferenceTypeDelegatepublic PerClause getPerClause()
getPerClause in interface ReferenceTypeDelegatepublic java.util.Collection getDeclares()
getDeclares in interface ReferenceTypeDelegatepublic java.util.Collection getTypeMungers()
getTypeMungers in interface ReferenceTypeDelegatepublic java.util.Collection getPrivilegedAccesses()
getPrivilegedAccesses in interface ReferenceTypeDelegatepublic int getModifiers()
getModifiers in interface ReferenceTypeDelegatepublic ResolvedType getSuperclass()
getSuperclass in interface ReferenceTypeDelegatepublic WeaverStateInfo getWeaverState()
getWeaverState in interface ReferenceTypeDelegatepublic ReferenceType getResolvedTypeX()
getResolvedTypeX in interface ReferenceTypeDelegatepublic boolean doesNotExposeShadowMungers()
doesNotExposeShadowMungers in interface ReferenceTypeDelegatepublic java.lang.String getDeclaredGenericSignature()
getDeclaredGenericSignature in interface ReferenceTypeDelegatepublic ReflectionBasedResolvedMemberImpl createResolvedMemberFor(java.lang.reflect.Member aMember)
public java.lang.String getSourcefilename()
getSourcefilename in interface ReferenceTypeDelegatepublic ISourceContext getSourceContext()
getSourceContext in interface ReferenceTypeDelegatepublic boolean copySourceContext()
copySourceContext in interface ReferenceTypeDelegatepublic int getCompilerVersion()
ReferenceTypeDelegateAjAttribute.WeaverVersionInfo.getCompilerVersion in interface ReferenceTypeDelegatepublic void ensureConsistent()
ReferenceTypeDelegateensureConsistent in interface ReferenceTypeDelegatepublic boolean isWeavable()
isWeavable in interface ReferenceTypeDelegatepublic boolean hasBeenWoven()
hasBeenWoven in interface ReferenceTypeDelegate