Package io.ran
Class ClazzMethod
java.lang.Object
io.ran.ClazzMethod
-
Constructor Summary
ConstructorsConstructorDescriptionClazzMethod
(Clazz<?> actualClass, Clazz<?> declaringClass, Method method) ClazzMethod
(Clazz<?> actualClass, Method method) -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Class<T> annotation) Clazz<?>
int
getName()
Clazz<?>
boolean
boolean
boolean
boolean
isFinal()
boolean
boolean
boolean
isPublic()
boolean
isStatic()
boolean
boolean
-
Constructor Details
-
ClazzMethod
-
ClazzMethod
-
-
Method Details
-
getName
-
parameters
-
getAnnotation
-
matches
-
getModifiers
public int getModifiers() -
getMethod
-
isAbstract
public boolean isAbstract() -
isFinal
public boolean isFinal() -
isPrivate
public boolean isPrivate() -
isProtected
public boolean isProtected() -
isPublic
public boolean isPublic() -
isStatic
public boolean isStatic() -
isSynchronized
public boolean isSynchronized() -
hasGenericFromClass
public boolean hasGenericFromClass()- Returns:
- true when the method either returns or takes generic parameters defined at class-level. Method level parameter containing class level parameter does not count.
-
hasGenericFromMethod
public boolean hasGenericFromMethod()- Returns:
- true if the method either returns or takes generic parameters defined at method-level. Wildcards are treated as method-level generic types.
-
getReturnType
-
getDeclaringClazz
-
getSignature
-
getAccess
-