|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectrecoder.abstraction.ErasedMethod
public class ErasedMethod
| 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 |
| Constructor Summary | |
|---|---|
ErasedMethod(Method genericMethod,
ImplicitElementInfo service)
|
|
| Method Summary | |
|---|---|
java.util.List<? extends AnnotationUse> |
getAnnotations()
Returns a list of Annotations. |
java.lang.String |
getBinaryName()
Returns the binary name. |
ClassTypeContainer |
getContainer()
Returns the enclosing package or class type, or method. |
ClassType |
getContainingClassType()
Returns the logical parent type of this member. |
java.util.List<ClassType> |
getExceptions()
Returns the exceptions of this method or constructor. |
java.lang.String |
getFullName()
Returns the maximal expanded name including all applicable qualifiers. |
Method |
getGenericMethod()
|
java.lang.String |
getName()
Return the name of the model element. |
Package |
getPackage()
Returns the package this element is defined in. |
ProgramModelInfo |
getProgramModelInfo()
Returns the instance that can retrieve information about this program model element. |
Type |
getReturnType()
Returns the return type of this method. |
java.util.List<Type> |
getSignature()
Returns the signature of this method or constructor. |
java.util.List<? extends TypeParameter> |
getTypeParameters()
|
java.util.List<? extends ClassType> |
getTypes()
Returns the class types locally defined within this container. |
boolean |
isAbstract()
Checks if this member is abstract. |
boolean |
isFinal()
Checks if this member is final. |
boolean |
isNative()
Checks if this method is native. |
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. |
boolean |
isSynchronized()
Checks if this method is synchronized. |
boolean |
isVarArgMethod()
Checks if this method takes a variable number of arguments. |
void |
setProgramModelInfo(ProgramModelInfo pmi)
Sets the instance that can retrieve information about this program model element. |
java.lang.String |
toString()
|
void |
validate()
Check consistency and admissibility of a construct, e.g. cardinality of participants. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ErasedMethod(Method genericMethod,
ImplicitElementInfo service)
| Method Detail |
|---|
public Method getGenericMethod()
public java.util.List<ClassType> getExceptions()
Method
getExceptions in interface Methodpublic Type getReturnType()
Method
getReturnType in interface Methodpublic java.util.List<Type> getSignature()
Method
getSignature in interface Methodpublic java.util.List<? extends TypeParameter> getTypeParameters()
getTypeParameters in interface Methodpublic boolean isAbstract()
Methodfalse
.
isAbstract in interface Methodtrue if this member is abstract, false
otherwise.Constructorpublic boolean isNative()
Methodfalse
.
isNative in interface Methodtrue if this method is native, false
otherwise.Constructorpublic boolean isSynchronized()
Method
false.
isSynchronized in interface Methodtrue if this method is synchronized, false
otherwise.Constructorpublic boolean isVarArgMethod()
Method
isVarArgMethod in interface Methodtrue if this methods takes a variable number of arguments,
false otherwise.public java.util.List<? extends AnnotationUse> getAnnotations()
Member
getAnnotations in interface Memberpublic ClassType getContainingClassType()
Member
getContainingClassType in interface Memberpublic boolean isFinal()
Member
isFinal in interface Membertrue if this member is final, false
otherwise.public boolean isPrivate()
Member
isPrivate in interface Membertrue if this member is private, false
otherwise.public boolean isProtected()
Member
isProtected in interface Membertrue if this member is protected, false
otherwise.public boolean isPublic()
Member
isPublic in interface Membertrue if this member is public, false
otherwise.public boolean isStatic()
Membertrue for
Constructors.
isStatic in interface Membertrue if this member is static, false
otherwise.public boolean isStrictFp()
Member
isStrictFp in interface Membertrue if this member is strictfp, false
otherwise.public java.lang.String getFullName()
ProgramModelElement
getFullName in interface ProgramModelElementpublic java.lang.String getBinaryName()
ProgramModelElement
getBinaryName in interface ProgramModelElementpublic ProgramModelInfo getProgramModelInfo()
ProgramModelElement
getProgramModelInfo in interface ProgramModelElementpublic void setProgramModelInfo(ProgramModelInfo pmi)
ProgramModelElement
setProgramModelInfo in interface ProgramModelElementpmi - the program model info to be used for this element.public java.lang.String getName()
NamedModelElement
getName in interface NamedModelElement
public void validate()
throws ModelException
ModelElementrecoder.java.statement.If
has a boolean parameter as condition,
recoder.service.SemanticsChecker
validate in interface ModelElementModelExceptionSemanticsCheckerpublic ClassTypeContainer getContainer()
ClassTypeContainer
getContainer in interface ClassTypeContainerpublic Package getPackage()
ClassTypeContainer
getPackage in interface ClassTypeContainerpublic java.util.List<? extends ClassType> getTypes()
ClassTypeContainer
getTypes in interface ClassTypeContainerpublic java.lang.String toString()
toString in class java.lang.Object
|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||