RECODER 0.92

recoder.abstraction
Class ArrayType.ArrayLengthField

java.lang.Object
  extended by recoder.abstraction.ArrayType.ArrayLengthField
All Implemented Interfaces:
Field, Member, ProgramModelElement, Variable, AccessFlags, ModelElement, NamedModelElement
Enclosing class:
ArrayType

public final class ArrayType.ArrayLengthField
extends java.lang.Object
implements Field

Author:
Tobias

Nested Class Summary
 
Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement
ProgramModelElement.LexicalOrder
 
Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement
ProgramModelElement.LexicalOrder
 
Field Summary
 
Fields inherited from interface recoder.abstraction.ProgramModelElement
LEXICAL_ORDER
 
Fields inherited from interface recoder.bytecode.AccessFlags
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Fields inherited from interface recoder.abstraction.ProgramModelElement
LEXICAL_ORDER
 
Fields inherited from interface recoder.bytecode.AccessFlags
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.List<? extends AnnotationUse> getAnnotations()
          Returns a list of Annotations.
 java.lang.String getBinaryName()
          Returns the binary name.
 ArrayType getContainingClassType()
          Returns the logical parent type of this member.
 java.lang.String getFullName()
          Returns the maximal expanded name including all applicable qualifiers.
 java.lang.String getName()
          Return the name of the model element.
 ImplicitElementInfo getProgramModelInfo()
          Returns the instance that can retrieve information about this program model element.
 Type getType()
          Returns the type of this variable.
 java.util.List<? extends TypeArgument> getTypeArguments()
           
 int hashCode()
           
 boolean isFinal()
          Checks if this member is final.
 boolean isPrivate()
          Checks if this member is private.
 boolean isProtected()
          Checks if this member is protected.
 boolean isPublic()
          Checks if this member is public.
 boolean isStatic()
          Checks if this member is static.
 boolean isStrictFp()
          Checks if this member is strictfp.
 void setProgramModelInfo(ProgramModelInfo pmi)
          Sets the instance that can retrieve information about this program model element.
 void validate()
          Check consistency and admissibility of a construct, e.g. cardinality of participants.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTypeArguments

public java.util.List<? extends TypeArgument> getTypeArguments()
Specified by:
getTypeArguments in interface Field

getType

public Type getType()
Description copied from interface: Variable
Returns the type of this variable.

Specified by:
getType in interface Variable
Returns:
the type of this variable.

isFinal

public boolean isFinal()
Description copied from interface: Member
Checks if this member is final.

Specified by:
isFinal in interface Member
Specified by:
isFinal in interface Variable
Returns:
true if this member is final, false otherwise.

getFullName

public java.lang.String getFullName()
Description copied from interface: ProgramModelElement
Returns the maximal expanded name including all applicable qualifiers.

Specified by:
getFullName in interface ProgramModelElement
Returns:
the full name of this program model element.

getProgramModelInfo

public ImplicitElementInfo getProgramModelInfo()
Description copied from interface: ProgramModelElement
Returns the instance that can retrieve information about this program model element.

Specified by:
getProgramModelInfo in interface ProgramModelElement
Returns:
the program model info of this element.

setProgramModelInfo

public void setProgramModelInfo(ProgramModelInfo pmi)
Description copied from interface: ProgramModelElement
Sets the instance that can retrieve information about this program model element. Should not be called from outside a service.

Specified by:
setProgramModelInfo in interface ProgramModelElement
Parameters:
pmi - the program model info to be used for this element.

getName

public java.lang.String getName()
Description copied from interface: NamedModelElement
Return the name of the model element.

Specified by:
getName in interface NamedModelElement
Returns:
the name of the model element.

validate

public void validate()
              throws ModelException
Description copied from interface: ModelElement
Check consistency and admissibility of a construct, e.g. cardinality of participants. Should only check syntactical correctness, not semantical correctness.
For checking, e.g., if an AST element of type recoder.java.statement.If has a boolean parameter as condition, recoder.service.SemanticsChecker

Specified by:
validate in interface ModelElement
Throws:
ModelException
See Also:
SemanticsChecker

getAnnotations

public java.util.List<? extends AnnotationUse> getAnnotations()
Description copied from interface: Member
Returns a list of Annotations.

Specified by:
getAnnotations in interface Member
Returns:
the annotations

getContainingClassType

public ArrayType getContainingClassType()
Description copied from interface: Member
Returns the logical parent type of this member.

Specified by:
getContainingClassType in interface Member
Returns:
the class type containing this member.

isPrivate

public boolean isPrivate()
Description copied from interface: Member
Checks if this member is private.

Specified by:
isPrivate in interface Member
Returns:
true if this member is private, false otherwise.

isProtected

public boolean isProtected()
Description copied from interface: Member
Checks if this member is protected.

Specified by:
isProtected in interface Member
Returns:
true if this member is protected, false otherwise.

isPublic

public boolean isPublic()
Description copied from interface: Member
Checks if this member is public.

Specified by:
isPublic in interface Member
Returns:
true if this member is public, false otherwise.

isStatic

public boolean isStatic()
Description copied from interface: Member
Checks if this member is static. Returns true for Constructors.

Specified by:
isStatic in interface Member
Returns:
true if this member is static, false otherwise.

isStrictFp

public boolean isStrictFp()
Description copied from interface: Member
Checks if this member is strictfp.

Specified by:
isStrictFp in interface Member
Returns:
true if this member is strictfp, false otherwise.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getBinaryName

public java.lang.String getBinaryName()
Description copied from interface: ProgramModelElement
Returns the binary name. The binary name is the name this program model element would have in bytecode, i.e., how it either is read by the bytecode parser, or the name a compiler would give this element during the compilation process (if this program model element is represented in source code). See JLS, §13.1

Specified by:
getBinaryName in interface ProgramModelElement
Returns:
the bytecode name of this program model element

RECODER 0.92