|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.weaver.AbstractReferenceTypeDelegate
org.aspectj.ajdt.internal.compiler.lookup.EclipseSourceType
public class EclipseSourceType
Supports viewing eclipse TypeDeclarations/SourceTypeBindings as a ResolvedType
| Field Summary | |
|---|---|
static short |
ACC_ANNOTATION
|
static short |
ACC_ENUM
|
protected ResolvedMember[] |
declaredFields
|
protected ResolvedMember[] |
declaredMethods
|
protected ResolvedPointcutDefinition[] |
declaredPointcuts
|
java.util.List<Declare> |
declares
|
java.util.List<EclipseTypeMunger> |
typeMungers
|
| Fields inherited from class org.aspectj.weaver.AbstractReferenceTypeDelegate |
|---|
cachedGenericClassTypeSignature, exposedToWeaver, resolvedTypeX, UNKNOWN_SOURCE_FILE |
| Constructor Summary | |
|---|---|
EclipseSourceType(ReferenceType resolvedTypeX,
EclipseFactory factory,
SourceTypeBinding binding,
TypeDeclaration declaration,
CompilationUnitDeclaration unit)
|
|
| Method Summary | |
|---|---|
boolean |
canAnnotationTargetType()
|
void |
checkPointcutDeclarations()
|
AnnotationAJ |
convertEclipseAnnotation(Annotation eclipseAnnotation,
World w)
Convert one eclipse annotation into an AnnotationX object containing an AnnotationAJ object. |
boolean |
doesNotExposeShadowMungers()
Designed to be overriden by EclipseType to disable collection of shadow mungers during pre-weave compilation phase |
protected EclipseFactory |
eclipseWorld()
|
protected void |
fillDeclaredMembers()
|
AnnotationAJ[] |
getAnnotations()
WARNING: This method does not have a complete implementation. |
AnnotationTargetKind[] |
getAnnotationTargetKinds()
|
ResolvedType[] |
getAnnotationTypes()
|
ResolvedMember[] |
getDeclaredFields()
This method may not return all fields, for example it may not include the ajc$initFailureCause or ajc$perSingletonInstance fields - see bug 129613 |
java.lang.String |
getDeclaredGenericSignature()
|
ResolvedType[] |
getDeclaredInterfaces()
|
ResolvedMember[] |
getDeclaredMethods()
This method may not return all methods, for example it may not include clinit, aspectOf, hasAspect or ajc$postClinit methods - see bug 129613 |
ResolvedMember[] |
getDeclaredPointcuts()
|
java.util.Collection |
getDeclares()
|
int |
getModifiers()
|
ResolvedType |
getOuterClass()
|
PerClause |
getPerClause()
|
java.util.Collection |
getPrivilegedAccesses()
|
java.lang.String |
getRetentionPolicy()
|
ResolvedType |
getSuperclass()
|
java.util.Collection |
getTypeMungers()
|
TypeVariable[] |
getTypeVariables()
|
WeaverStateInfo |
getWeaverState()
|
boolean |
hasAnnotation(UnresolvedType ofType)
|
boolean |
isAnnotation()
|
boolean |
isAnnotationStyleAspect()
|
boolean |
isAnnotationWithRuntimeRetention()
|
boolean |
isAnonymous()
|
boolean |
isAspect()
|
boolean |
isEnum()
|
boolean |
isGeneric()
|
boolean |
isInterface()
|
boolean |
isNested()
|
java.lang.String |
toString()
|
| Methods inherited from class org.aspectj.weaver.AbstractReferenceTypeDelegate |
|---|
copySourceContext, ensureConsistent, getCompilerVersion, getFormalTypeParametersFromOuterClass, getGenericClassTypeSignature, getResolvedTypeX, getSourceContext, getSourcefilename, getSourceLocation, hasBeenWoven, isCacheable, isClass, isExposedToWeaver, isWeavable, setSourceContext, setSourcefilename |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ResolvedPointcutDefinition[] declaredPointcuts
protected ResolvedMember[] declaredMethods
protected ResolvedMember[] declaredFields
public java.util.List<Declare> declares
public java.util.List<EclipseTypeMunger> typeMungers
public static final short ACC_ANNOTATION
public static final short ACC_ENUM
| Constructor Detail |
|---|
public EclipseSourceType(ReferenceType resolvedTypeX,
EclipseFactory factory,
SourceTypeBinding binding,
TypeDeclaration declaration,
CompilationUnitDeclaration unit)
| Method Detail |
|---|
protected EclipseFactory eclipseWorld()
public boolean isAspect()
public boolean isAnonymous()
public boolean isNested()
public ResolvedType getOuterClass()
public boolean isAnnotationStyleAspect()
public WeaverStateInfo getWeaverState()
public ResolvedType getSuperclass()
public ResolvedType[] getDeclaredInterfaces()
protected void fillDeclaredMembers()
public ResolvedMember[] getDeclaredFields()
public ResolvedMember[] getDeclaredMethods()
public ResolvedMember[] getDeclaredPointcuts()
public int getModifiers()
public java.lang.String toString()
toString in class java.lang.Objectpublic void checkPointcutDeclarations()
public boolean isInterface()
public boolean isEnum()
public boolean isAnnotation()
public boolean isAnnotationWithRuntimeRetention()
public java.lang.String getRetentionPolicy()
public boolean canAnnotationTargetType()
public AnnotationTargetKind[] getAnnotationTargetKinds()
public boolean hasAnnotation(UnresolvedType ofType)
public AnnotationAJ[] getAnnotations()
public AnnotationAJ convertEclipseAnnotation(Annotation eclipseAnnotation,
World w)
public ResolvedType[] getAnnotationTypes()
public PerClause getPerClause()
public java.util.Collection getDeclares()
public java.util.Collection getPrivilegedAccesses()
public java.util.Collection getTypeMungers()
public boolean doesNotExposeShadowMungers()
AbstractReferenceTypeDelegate
doesNotExposeShadowMungers in interface ReferenceTypeDelegatedoesNotExposeShadowMungers in class AbstractReferenceTypeDelegatepublic java.lang.String getDeclaredGenericSignature()
public boolean isGeneric()
public TypeVariable[] getTypeVariables()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||