Package org.aspectj.weaver.bcel
Class BcelObjectType
- java.lang.Object
-
- org.aspectj.weaver.AbstractReferenceTypeDelegate
-
- org.aspectj.weaver.bcel.BcelObjectType
-
- All Implemented Interfaces:
ReferenceTypeDelegate
public class BcelObjectType extends AbstractReferenceTypeDelegate
-
-
Field Summary
Fields Modifier and Type Field Description JavaClassjavaClass-
Fields inherited from class org.aspectj.weaver.AbstractReferenceTypeDelegate
cachedGenericClassTypeSignature, exposedToWeaver, resolvedTypeX, UNKNOWN_SOURCE_FILE
-
-
Method Summary
-
Methods inherited from class org.aspectj.weaver.AbstractReferenceTypeDelegate
doesNotExposeShadowMungers, getFormalTypeParametersFromOuterClass, getGenericClassTypeSignature, getResolvedTypeX, getSourceContext, getSourcefilename, getSourceLocation, isClass, isExposedToWeaver, setSourceContext, setSourcefilename
-
-
-
-
Field Detail
-
javaClass
public JavaClass javaClass
-
-
Method Detail
-
setJavaClass
public void setJavaClass(JavaClass newclass, boolean artificial)
-
isCacheable
public boolean isCacheable()
- Specified by:
isCacheablein interfaceReferenceTypeDelegate- Overrides:
isCacheablein classAbstractReferenceTypeDelegate
-
isInterface
public boolean isInterface()
-
isEnum
public boolean isEnum()
-
isAnnotation
public boolean isAnnotation()
-
isAnonymous
public boolean isAnonymous()
-
isNested
public boolean isNested()
-
getModifiers
public int getModifiers()
-
getSuperclass
public ResolvedType getSuperclass()
-
getWorld
public World getWorld()
-
getDeclaredInterfaces
public ResolvedType[] getDeclaredInterfaces()
-
getDeclaredMethods
public ResolvedMember[] getDeclaredMethods()
-
getDeclaredFields
public ResolvedMember[] getDeclaredFields()
-
getTypeVariables
public TypeVariable[] getTypeVariables()
-
getTypeMungers
public Collection<ConcreteTypeMunger> getTypeMungers()
-
getDeclares
public Collection<Declare> getDeclares()
-
getPrivilegedAccesses
public Collection<ResolvedMember> getPrivilegedAccesses()
-
getDeclaredPointcuts
public ResolvedMember[] getDeclaredPointcuts()
-
isAspect
public boolean isAspect()
-
isAnnotationStyleAspect
public boolean isAnnotationStyleAspect()
-
getPerClause
public PerClause getPerClause()
-
getJavaClass
public JavaClass getJavaClass()
-
isArtificial
public boolean isArtificial()
-
resetState
public void resetState()
-
finishedWith
public void finishedWith()
-
getWeaverState
public WeaverStateInfo getWeaverState()
-
printWackyStuff
public void printWackyStuff(PrintStream out)
-
getLazyClassGen
public LazyClassGen getLazyClassGen()
-
isSynthetic
public boolean isSynthetic()
-
getWeaverVersionAttribute
public AjAttribute.WeaverVersionInfo getWeaverVersionAttribute()
-
getAnnotationTypes
public ResolvedType[] getAnnotationTypes()
-
getAnnotations
public AnnotationAJ[] getAnnotations()
-
hasAnnotations
public boolean hasAnnotations()
-
hasAnnotation
public boolean hasAnnotation(UnresolvedType ofType)
-
isAnnotationWithRuntimeRetention
public boolean isAnnotationWithRuntimeRetention()
-
getRetentionPolicy
public String getRetentionPolicy()
-
canAnnotationTargetType
public boolean canAnnotationTargetType()
-
getAnnotationTargetKinds
public AnnotationTargetKind[] getAnnotationTargetKinds()
-
getDeclaredGenericSignature
public String getDeclaredGenericSignature()
-
getAllFormals
public GenericSignature.FormalTypeParameter[] getAllFormals()
-
getOuterClass
public ResolvedType getOuterClass()
-
isGeneric
public boolean isGeneric()
-
evictWeavingState
public void evictWeavingState()
-
weavingCompleted
public void weavingCompleted()
-
hasBeenWoven
public boolean hasBeenWoven()
- Specified by:
hasBeenWovenin interfaceReferenceTypeDelegate- Overrides:
hasBeenWovenin classAbstractReferenceTypeDelegate
-
copySourceContext
public boolean copySourceContext()
- Specified by:
copySourceContextin interfaceReferenceTypeDelegate- Overrides:
copySourceContextin classAbstractReferenceTypeDelegate
-
setExposedToWeaver
public void setExposedToWeaver(boolean b)
-
getCompilerVersion
public int getCompilerVersion()
- Specified by:
getCompilerVersionin interfaceReferenceTypeDelegate- Overrides:
getCompilerVersionin classAbstractReferenceTypeDelegate
-
ensureConsistent
public void ensureConsistent()
- Specified by:
ensureConsistentin interfaceReferenceTypeDelegate- Overrides:
ensureConsistentin classAbstractReferenceTypeDelegate
-
isWeavable
public boolean isWeavable()
- Specified by:
isWeavablein interfaceReferenceTypeDelegate- Overrides:
isWeavablein classAbstractReferenceTypeDelegate
-
-