Klasse DeclareSoft

Alle implementierten Schnittstellen:
IHasPosition, IHasSourceLocation

public class DeclareSoft extends Declare
  • Konstruktordetails

  • Methodendetails

    • accept

      public Object accept(PatternNodeVisitor visitor, Object data)
      Angegeben von:
      accept in Klasse PatternNode
    • traverse

      public Object traverse(PatternNodeVisitor visitor, Object data)
      Setzt außer Kraft:
      traverse in Klasse PatternNode
    • parameterizeWith

      public Declare parameterizeWith(Map typeVariableBindingMap, World w)
      Beschreibung aus Klasse kopiert: Declare
      Returns a version of this declare element in which all references to type variables are replaced with their bindings given in the map.
      Angegeben von:
      parameterizeWith in Klasse Declare
    • toString

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

      public boolean equals(Object other)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • write

      public void write(CompressingDataOutputStream s) throws IOException
      Angegeben von:
      write in Klasse PatternNode
      Löst aus:
      IOException
    • read

      public static Declare read(VersionedDataInputStream s, ISourceContext context) throws IOException
      Löst aus:
      IOException
    • getPointcut

      public Pointcut getPointcut()
    • getException

      public TypePattern getException()
    • resolve

      public void resolve(IScope scope)
      Beschreibung aus Klasse kopiert: Declare
      Returns this declare mutated
      Angegeben von:
      resolve in Klasse Declare
    • isAdviceLike

      public boolean isAdviceLike()
      Beschreibung aus Klasse kopiert: Declare
      Indicates if this declare should be treated like advice. If true, the declare will have no effect in an abstract aspect. It will be inherited by any concrete aspects and will have an effect for each concrete aspect it is ultimately inherited by.
      Angegeben von:
      isAdviceLike in Klasse Declare
    • getNameSuffix

      public String getNameSuffix()
      Beschreibung aus Klasse kopiert: Declare
      Declares have methods in the .class file against which info can be stored (for example, the annotation in the case of declare annotation). The name is of the form ajc$declare_XXX_NNN where XXX can optionally be set in this 'getNameSuffix()' method - depending on whether, at weave time, we want to easily differentiate between the declare methods.
      Angegeben von:
      getNameSuffix in Klasse Declare