|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodInfo
| Method Summary | |
|---|---|
AccessScope |
getAccess()
|
java.lang.Object |
getMethod()
|
java.lang.String |
getName()
|
ClassTypeInfo |
getOwner()
|
java.util.List<java.lang.String> |
getParameterNames()
Returns the parameter names of the method or null if the parameter names cannot be determined. |
java.util.List<TypeInfo> |
getParameterTypes()
|
TypeInfo |
getReturnType()
|
MethodSignature |
getSignature()
|
MethodSignature |
getSignature(ClassTypeInfo context)
Resolves a type signature with a provided class type context. |
MethodType |
getType()
Returns the method type. |
boolean |
isAbstract()
Returns true when the method getType() returns the value MethodType.ABSTRACT. |
boolean |
isConcrete()
Returns true when the method getType() returns the value MethodType.CONCRETE. |
boolean |
isFinal()
|
boolean |
isNative()
Returns true when the method getType() returns the value MethodType.NATIVE. |
boolean |
isStatic()
|
| Methods inherited from interface org.reflext.api.GenericDeclarationInfo |
|---|
getTypeParameters |
| Methods inherited from interface org.reflext.api.annotation.Annotated |
|---|
getDeclaredAnnotation |
| Method Detail |
|---|
java.lang.Object getMethod()
ClassTypeInfo getOwner()
TypeInfo getReturnType()
java.lang.String getName()
java.util.List<TypeInfo> getParameterTypes()
java.util.List<java.lang.String> getParameterNames()
MethodSignature getSignature()
MethodSignature getSignature(ClassTypeInfo context)
Resolves a type signature with a provided class type context.
For instance, let's consider the following class:
public class A implements java.util.List
List.add(Object) from the List interface
within the context of the A class, you will obtain the signature
add(String e) instead of the add(Object e) signature.
context - the class type context
AccessScope getAccess()
boolean isStatic()
boolean isFinal()
boolean isAbstract()
getType() returns the value MethodType.ABSTRACT.
getType()boolean isNative()
getType() returns the value MethodType.NATIVE.
getType()boolean isConcrete()
getType() returns the value MethodType.CONCRETE.
getType()MethodType getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||