Schnittstelle IProgramElement

Alle Superschnittstellen:
Serializable
Alle bekannten Implementierungsklassen:
ProgramElement

public interface IProgramElement extends Serializable
Represents program elements in the AspectJ containment hierarchy.
Autor:
Mik Kersten
  • Methodendetails

    • getChildren

      List<IProgramElement> getChildren()
    • setChildren

      void setChildren(List<IProgramElement> children)
    • addChild

      void addChild(IProgramElement child)
    • removeChild

      boolean removeChild(IProgramElement child)
    • setExtraInfo

      void setExtraInfo(IProgramElement.ExtraInformation info)
    • getExtraInfo

    • getParent

      IProgramElement getParent()
    • setParent

      void setParent(IProgramElement parent)
    • setParentTypes

      void setParentTypes(List<String> parentTypes)
    • getParentTypes

      List<String> getParentTypes()
    • getName

      String getName()
    • setName

      void setName(String name)
    • getDetails

      String getDetails()
    • setDetails

      void setDetails(String details)
    • getKind

    • setKind

      void setKind(IProgramElement.Kind kind)
    • getModifiers

    • setModifiers

      void setModifiers(int i)
    • getAccessibility

      IProgramElement.Accessibility getAccessibility()
    • getDeclaringType

      String getDeclaringType()
    • getPackageName

      String getPackageName()
    • setCorrespondingType

      void setCorrespondingType(String returnType)
      Parameter:
      returnType - return types or field types
    • getCorrespondingType

      String getCorrespondingType()
      This correponds to both method return types and field types.
    • getCorrespondingType

      String getCorrespondingType(boolean getFullyQualifiedType)
    • toSignatureString

      String toSignatureString()
    • toSignatureString

      String toSignatureString(boolean getFullyQualifiedArgTypes)
    • 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

      void setMessage(IMessage message)
    • getSourceLocation

      ISourceLocation getSourceLocation()
    • setSourceLocation

      void setSourceLocation(ISourceLocation sourceLocation)
    • toString

      String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • getFormalComment

      String getFormalComment()
      Gibt zurück:
      the javadoc comment for this program element, null if not available
    • setFormalComment

      void setFormalComment(String comment)
    • toLinkLabelString

      String toLinkLabelString()
      Includes information about the origin of the node.
    • toLinkLabelString

      String toLinkLabelString(boolean getFullyQualifiedArgTypes)
    • toLabelString

      String toLabelString()
      Includes name, parameter types (if any) and details (if any).
    • toLabelString

      String toLabelString(boolean getFullyQualifiedArgTypes)
    • getParameterNames

      List<String> getParameterNames()
    • setParameterNames

      void setParameterNames(List<String> list)
    • getParameterSignatures

      List<char[]> getParameterSignatures()
    • getParameterSignaturesSourceRefs

      List<String> getParameterSignaturesSourceRefs()
    • setParameterSignatures

      void setParameterSignatures(List<char[]> list, List<String> paramSourceRefs)
    • 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

      String getHandleIdentifier(boolean create)
    • setHandleIdentifier

      void setHandleIdentifier(String handle)
    • 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

      void setBytecodeName(String bytecodeName)
    • setBytecodeSignature

      void setBytecodeSignature(String bytecodeSignature)
    • getSourceSignature

      String getSourceSignature()
      Gibt zurück:
      the full signature of this element, as it appears in the source
    • setSourceSignature

      void setSourceSignature(String string)
    • walk

    • getModel

      AsmManager getModel()
    • getRawModifiers

      int getRawModifiers()
    • setAnnotationStyleDeclaration

      void setAnnotationStyleDeclaration(boolean b)
    • isAnnotationStyleDeclaration

      boolean isAnnotationStyleDeclaration()
    • setAnnotationType

      void setAnnotationType(String fullyQualifiedannotationType)
      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

      Map<String,List<String>> getDeclareParentsMap()
    • setDeclareParentsMap

      void setDeclareParentsMap(Map<String,List<String>> newmap)
    • addFullyQualifiedName

      void addFullyQualifiedName(String fqname)
    • 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;)