Klasse GlobalVariable

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.eval.GlobalVariable

public class GlobalVariable extends Object
A global variable is a variable defined for an evaluation context and that persists accross evaluations.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    GlobalVariable(char[] typeName, char[] name, char[] initializer)
    Creates a new global variable with the given type name, name and initializer.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    char[]
    Returns the initializer of this global variable.
    char[]
    Returns the name of this global variable.
    char[]
    Returns the dot separated fully qualified name of the type of this global variable, or its simple representation if it is a primitive type (e.g. int, boolean, etc.)
    Returns a readable representation of the receiver.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Konstruktordetails

    • GlobalVariable

      public GlobalVariable(char[] typeName, char[] name, char[] initializer)
      Creates a new global variable with the given type name, name and initializer. initializer can be null if there is none.
  • Methodendetails

    • getInitializer

      public char[] getInitializer()
      Returns the initializer of this global variable. The initializer is a variable initializer (i.e. an expression or an array initializer) as defined in the Java Language Specifications.
    • getName

      public char[] getName()
      Returns the name of this global variable.
    • getTypeName

      public char[] getTypeName()
      Returns the dot separated fully qualified name of the type of this global variable, or its simple representation if it is a primitive type (e.g. int, boolean, etc.)
    • toString

      public String toString()
      Returns a readable representation of the receiver. This is for debugging purpose only.
      Setzt außer Kraft:
      toString in Klasse Object