类 Methods
- java.lang.Object
-
- net.dongliu.commons.reflect.Methods
-
public class Methods extends java.lang.ObjectUtil class for method
-
-
构造器概要
构造器 构造器 说明 Methods()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static booleanisAbstract(java.lang.reflect.Method method)If is abstract methodstatic booleanisFinal(java.lang.reflect.Method method)If is final methodstatic booleanisNative(java.lang.reflect.Method method)If is native methodstatic booleanisPrivate(java.lang.reflect.Method method)If is private methodstatic booleanisProtected(java.lang.reflect.Method method)If is protected methodstatic booleanisPublic(java.lang.reflect.Method method)If is public methodstatic booleanisStatic(java.lang.reflect.Method method)If is static methodstatic booleanisSynchronized(java.lang.reflect.Method method)If is synchronized method
-
-
-
方法详细资料
-
isStatic
public static boolean isStatic(java.lang.reflect.Method method)
If is static method- 参数:
method- the method- 返回:
- true if is static method
-
isPrivate
public static boolean isPrivate(java.lang.reflect.Method method)
If is private method- 参数:
method- the method- 返回:
- true if is private method
-
isPublic
public static boolean isPublic(java.lang.reflect.Method method)
If is public method- 参数:
method- the method- 返回:
- true if is public method
-
isProtected
public static boolean isProtected(java.lang.reflect.Method method)
If is protected method- 参数:
method- the method- 返回:
- true if is protected method
-
isAbstract
public static boolean isAbstract(java.lang.reflect.Method method)
If is abstract method- 参数:
method- the method- 返回:
- true if is abstract method
-
isFinal
public static boolean isFinal(java.lang.reflect.Method method)
If is final method- 参数:
method- the method- 返回:
- true if is final method
-
isSynchronized
public static boolean isSynchronized(java.lang.reflect.Method method)
If is synchronized method- 参数:
method- the method- 返回:
- true if is synchronized method
-
isNative
public static boolean isNative(java.lang.reflect.Method method)
If is native method- 参数:
method- the method- 返回:
- true if is native method
-
-