Package org.aspectj.asm
Schnittstelle IProgramElement
- Alle Superschnittstellen:
Serializable
- Alle bekannten Implementierungsklassen:
ProgramElement
Represents program elements in the AspectJ containment hierarchy.
- Autor:
- Mik Kersten
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic class
Uses "typesafe enum" pattern.static class
static class
Uses "typesafe enum" pattern.static class
Uses "typesafe enum" pattern. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addChild
(IProgramElement child) void
addFullyQualifiedName
(String fqname) This correponds to both method return types and field types.getCorrespondingType
(boolean getFullyQualifiedType) The format of the string handle is not specified, but is stable across compilation sessions.getHandleIdentifier
(boolean create) getKind()
getModel()
getName()
List<char[]>
List<char[]>
int
String[]
boolean
boolean
boolean
boolean
boolean
boolean
removeChild
(IProgramElement child) void
setAnnotationRemover
(boolean isRemover) void
setAnnotationStyleDeclaration
(boolean b) void
setAnnotationType
(String fullyQualifiedannotationType) void
setBytecodeName
(String bytecodeName) void
setBytecodeSignature
(String bytecodeSignature) void
setChildren
(List<IProgramElement> children) void
setCorrespondingType
(String returnType) void
setDeclareParentsMap
(Map<String, List<String>> newmap) void
setDetails
(String details) void
void
setFormalComment
(String comment) void
setHandleIdentifier
(String handle) void
setImplementor
(boolean value) void
setKind
(IProgramElement.Kind kind) void
setMessage
(IMessage message) void
setModifiers
(int i) void
void
setOverrider
(boolean value) void
setParameterNames
(List<String> list) void
setParameterSignatures
(List<char[]> list, List<String> paramSourceRefs) void
setParent
(IProgramElement parent) void
setParentTypes
(List<String> parentTypes) void
setRunnable
(boolean value) void
setSourceLocation
(ISourceLocation sourceLocation) void
setSourceSignature
(String string) Includes name, parameter types (if any) and details (if any).toLabelString
(boolean getFullyQualifiedArgTypes) Includes information about the origin of the node.toLinkLabelString
(boolean getFullyQualifiedArgTypes) toSignatureString
(boolean getFullyQualifiedArgTypes) toString()
walk
(HierarchyWalker walker)
-
Methodendetails
-
getChildren
List<IProgramElement> getChildren() -
setChildren
-
addChild
-
removeChild
-
setExtraInfo
-
getExtraInfo
IProgramElement.ExtraInformation getExtraInfo() -
getParent
IProgramElement getParent() -
setParent
-
setParentTypes
-
getParentTypes
-
getName
String getName() -
setName
-
getDetails
String getDetails() -
setDetails
-
getKind
IProgramElement.Kind getKind() -
setKind
-
getModifiers
List<IProgramElement.Modifiers> getModifiers() -
setModifiers
void setModifiers(int i) -
getAccessibility
IProgramElement.Accessibility getAccessibility() -
getDeclaringType
String getDeclaringType() -
getPackageName
String getPackageName() -
setCorrespondingType
- Parameter:
returnType
- return types or field types
-
getCorrespondingType
String getCorrespondingType()This correponds to both method return types and field types. -
getCorrespondingType
-
toSignatureString
String toSignatureString() -
toSignatureString
-
setRunnable
void setRunnable(boolean value) -
isRunnable
boolean isRunnable() -
isImplementor
boolean isImplementor() -
setImplementor
void setImplementor(boolean value) -
isOverrider
boolean isOverrider() -
setOverrider
void setOverrider(boolean value) -
getMessage
IMessage getMessage() -
setMessage
-
getSourceLocation
ISourceLocation getSourceLocation() -
setSourceLocation
-
toString
String toString() -
getFormalComment
String getFormalComment()- Gibt zurück:
- the javadoc comment for this program element, null if not available
-
setFormalComment
-
toLinkLabelString
String toLinkLabelString()Includes information about the origin of the node. -
toLinkLabelString
-
toLabelString
String toLabelString()Includes name, parameter types (if any) and details (if any). -
toLabelString
-
getParameterNames
-
setParameterNames
-
getParameterSignatures
List<char[]> getParameterSignatures() -
getParameterSignaturesSourceRefs
-
setParameterSignatures
-
getParameterTypes
List<char[]> getParameterTypes() -
getHandleIdentifier
String getHandleIdentifier()The format of the string handle is not specified, but is stable across compilation sessions.- Gibt zurück:
- a string representation of this element
-
getHandleIdentifier
-
setHandleIdentifier
-
toLongString
String toLongString()- Gibt zurück:
- a string representation of this node and all of its children (recursive)
-
getBytecodeName
String getBytecodeName() -
getBytecodeSignature
String getBytecodeSignature() -
setBytecodeName
-
setBytecodeSignature
-
getSourceSignature
String getSourceSignature()- Gibt zurück:
- the full signature of this element, as it appears in the source
-
setSourceSignature
-
walk
-
getModel
AsmManager getModel() -
getRawModifiers
int getRawModifiers() -
setAnnotationStyleDeclaration
void setAnnotationStyleDeclaration(boolean b) -
isAnnotationStyleDeclaration
boolean isAnnotationStyleDeclaration() -
setAnnotationType
- Parameter:
fullyQualifiedannotationType
- the annotation type, eg. p.q.r.Foo
-
getAnnotationType
String getAnnotationType()- Gibt zurück:
- the fully qualified annotation type, eg. p.q.r.Foo
-
getRemovedAnnotationTypes
String[] getRemovedAnnotationTypes() -
getDeclareParentsMap
-
setDeclareParentsMap
-
addFullyQualifiedName
-
getFullyQualifiedName
String getFullyQualifiedName() -
setAnnotationRemover
void setAnnotationRemover(boolean isRemover) -
isAnnotationRemover
boolean isAnnotationRemover() -
getCorrespondingTypeSignature
String getCorrespondingTypeSignature()- Gibt zurück:
- the return type of a method or type of a field in signature form (e.g. Ljava/lang/String;)
-