public class BcelObjectType extends AbstractReferenceTypeDelegate
| Modifier and Type | Field and Description |
|---|---|
JavaClass |
javaClass |
cachedGenericClassTypeSignature, exposedToWeaver, resolvedTypeX, UNKNOWN_SOURCE_FILE| Modifier and Type | Method and Description |
|---|---|
boolean |
canAnnotationTargetType() |
boolean |
copySourceContext() |
void |
ensureConsistent()
Implementations need to clear state
|
void |
evictWeavingState() |
void |
finishedWith() |
GenericSignature.FormalTypeParameter[] |
getAllFormals() |
AnnotationAJ[] |
getAnnotations() |
AnnotationTargetKind[] |
getAnnotationTargetKinds() |
ResolvedType[] |
getAnnotationTypes() |
int |
getCompilerVersion()
If known, return the compiler/weaver version used to build this delegate.
|
ResolvedMember[] |
getDeclaredFields() |
java.lang.String |
getDeclaredGenericSignature() |
ResolvedType[] |
getDeclaredInterfaces()
Retrieves the declared interfaces - this allows for the generic signature on a type.
|
ResolvedMember[] |
getDeclaredMethods() |
ResolvedMember[] |
getDeclaredPointcuts() |
java.util.Collection<Declare> |
getDeclares() |
JavaClass |
getJavaClass() |
LazyClassGen |
getLazyClassGen()
Return the lazyClassGen associated with this type.
|
int |
getModifiers() |
ResolvedType |
getOuterClass() |
PerClause |
getPerClause() |
java.util.Collection<ResolvedMember> |
getPrivilegedAccesses() |
java.lang.String |
getRetentionPolicy() |
ResolvedType |
getSuperclass()
Must take into account generic signature
|
java.util.Collection<ConcreteTypeMunger> |
getTypeMungers() |
TypeVariable[] |
getTypeVariables() |
WeaverStateInfo |
getWeaverState() |
AjAttribute.WeaverVersionInfo |
getWeaverVersionAttribute() |
World |
getWorld() |
boolean |
hasAnnotation(UnresolvedType ofType) |
boolean |
hasAnnotations() |
boolean |
hasBeenWoven() |
boolean |
isAnnotation() |
boolean |
isAnnotationStyleAspect()
Check if the type is an @AJ aspect (no matter if used from an LTW point of view).
|
boolean |
isAnnotationWithRuntimeRetention() |
boolean |
isAnonymous() |
boolean |
isArtificial() |
boolean |
isAspect() |
boolean |
isCacheable()
TODO Caching of methods besides getDeclaredInterfaces() may also be dependent on this flag - which?
|
boolean |
isEnum() |
boolean |
isGeneric() |
boolean |
isInterface() |
boolean |
isNested() |
boolean |
isSynthetic() |
boolean |
isWeavable() |
void |
printWackyStuff(java.io.PrintStream out) |
void |
resetState() |
void |
setExposedToWeaver(boolean b) |
void |
setJavaClass(JavaClass newclass,
boolean artificial) |
java.lang.String |
toString() |
void |
weavingCompleted() |
doesNotExposeShadowMungers, getFormalTypeParametersFromOuterClass, getGenericClassTypeSignature, getResolvedTypeX, getSourceContext, getSourcefilename, getSourceLocation, isClass, isExposedToWeaver, setSourceContext, setSourcefilenamepublic JavaClass javaClass
public void setJavaClass(JavaClass newclass, boolean artificial)
public boolean isCacheable()
ReferenceTypeDelegateisCacheable in interface ReferenceTypeDelegateisCacheable in class AbstractReferenceTypeDelegatepublic boolean isInterface()
public boolean isEnum()
public boolean isAnnotation()
public boolean isAnonymous()
public boolean isNested()
public int getModifiers()
public ResolvedType getSuperclass()
public World getWorld()
public ResolvedType[] getDeclaredInterfaces()
public ResolvedMember[] getDeclaredMethods()
public ResolvedMember[] getDeclaredFields()
public TypeVariable[] getTypeVariables()
public java.util.Collection<ConcreteTypeMunger> getTypeMungers()
public java.util.Collection<Declare> getDeclares()
public java.util.Collection<ResolvedMember> getPrivilegedAccesses()
public ResolvedMember[] getDeclaredPointcuts()
public boolean isAspect()
public boolean isAnnotationStyleAspect()
public PerClause getPerClause()
public JavaClass getJavaClass()
public boolean isArtificial()
public void resetState()
public void finishedWith()
public WeaverStateInfo getWeaverState()
public void printWackyStuff(java.io.PrintStream out)
public LazyClassGen getLazyClassGen()
public boolean isSynthetic()
public AjAttribute.WeaverVersionInfo getWeaverVersionAttribute()
public ResolvedType[] getAnnotationTypes()
public AnnotationAJ[] getAnnotations()
public boolean hasAnnotations()
public boolean hasAnnotation(UnresolvedType ofType)
public boolean isAnnotationWithRuntimeRetention()
public java.lang.String getRetentionPolicy()
public boolean canAnnotationTargetType()
public AnnotationTargetKind[] getAnnotationTargetKinds()
public java.lang.String getDeclaredGenericSignature()
public GenericSignature.FormalTypeParameter[] getAllFormals()
public ResolvedType getOuterClass()
public boolean isGeneric()
public java.lang.String toString()
toString in class java.lang.Objectpublic void evictWeavingState()
public void weavingCompleted()
public boolean hasBeenWoven()
hasBeenWoven in interface ReferenceTypeDelegatehasBeenWoven in class AbstractReferenceTypeDelegatepublic boolean copySourceContext()
copySourceContext in interface ReferenceTypeDelegatecopySourceContext in class AbstractReferenceTypeDelegatepublic void setExposedToWeaver(boolean b)
public int getCompilerVersion()
ReferenceTypeDelegateAjAttribute.WeaverVersionInfo.getCompilerVersion in interface ReferenceTypeDelegategetCompilerVersion in class AbstractReferenceTypeDelegatepublic void ensureConsistent()
ReferenceTypeDelegateensureConsistent in interface ReferenceTypeDelegateensureConsistent in class AbstractReferenceTypeDelegatepublic boolean isWeavable()
isWeavable in interface ReferenceTypeDelegateisWeavable in class AbstractReferenceTypeDelegate