RECODER 0.92

recoder.abstraction
Interface Method

All Superinterfaces:
AccessFlags, ClassTypeContainer, Member, ModelElement, NamedModelElement, ProgramModelElement
All Known Subinterfaces:
AnnotationProperty, Constructor
All Known Implementing Classes:
AnnotationPropertyDeclaration, AnnotationPropertyInfo, ArrayType.ArrayCloneMethod, ConstructorDeclaration, ConstructorInfo, DefaultConstructor, DummyGetClassMethod, ErasedConstructor, ErasedMethod, ImplicitEnumMethod, ImplicitEnumValueOf, ImplicitEnumValues, MethodDeclaration, MethodInfo, ParameterizedConstructor, ParameterizedMethod, ResolvedGenericMethod

public interface Method
extends Member, ClassTypeContainer

A program model element representing methods.


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
 java.util.List<ClassType> getExceptions()
          Returns the exceptions of this method or constructor.
 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()
           
 boolean isAbstract()
          Checks if this member is abstract.
 boolean isNative()
          Checks if this method is native.
 boolean isSynchronized()
          Checks if this method is synchronized.
 boolean isVarArgMethod()
          Checks if this method takes a variable number of arguments.
 
Methods inherited from interface recoder.abstraction.Member
getAnnotations, getContainingClassType, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictFp
 
Methods inherited from interface recoder.abstraction.ProgramModelElement
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo
 
Methods inherited from interface recoder.NamedModelElement
getName
 
Methods inherited from interface recoder.ModelElement
validate
 
Methods inherited from interface recoder.abstraction.ClassTypeContainer
getContainer, getPackage, getTypes
 
Methods inherited from interface recoder.abstraction.ProgramModelElement
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo
 
Methods inherited from interface recoder.NamedModelElement
getName
 
Methods inherited from interface recoder.ModelElement
validate
 

Method Detail

getSignature

java.util.List<Type> getSignature()
Returns the signature of this method or constructor.

Returns:
the signature of this method.

getExceptions

java.util.List<ClassType> getExceptions()
Returns the exceptions of this method or constructor.

Returns:
the exceptions of this method.

getReturnType

Type getReturnType()
Returns the return type of this method.

Returns:
the return type of this method.

isAbstract

boolean isAbstract()
Checks if this member is abstract. A constructor will report false .

Returns:
true if this member is abstract, false otherwise.
See Also:
Constructor

isNative

boolean isNative()
Checks if this method is native. A constructor will report false .

Returns:
true if this method is native, false otherwise.
See Also:
Constructor

isSynchronized

boolean isSynchronized()
Checks if this method is synchronized. A constructor will report false.

Returns:
true if this method is synchronized, false otherwise.
See Also:
Constructor

isVarArgMethod

boolean isVarArgMethod()
Checks if this method takes a variable number of arguments.

Returns:
true if this methods takes a variable number of arguments, false otherwise.
Since:
0.80

getTypeParameters

java.util.List<? extends TypeParameter> getTypeParameters()
Returns:
Since:
0.80

RECODER 0.92