Package org.apache.commons.lang3.reflect
Class MemberUtils.Executable
- java.lang.Object
-
- org.apache.commons.lang3.reflect.MemberUtils.Executable
-
- Enclosing class:
- MemberUtils
private static final class MemberUtils.Executable extends java.lang.Object
A class providing a subset of the API of java.lang.reflect.Executable in Java 1.8, providing a common representation for function signatures for Constructors and Methods.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isVarArgs
private java.lang.Class<?>[]
parameterTypes
-
Constructor Summary
Constructors Modifier Constructor Description private
Executable(java.lang.reflect.Constructor<?> constructor)
private
Executable(java.lang.reflect.Method method)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>[]
getParameterTypes()
boolean
isVarArgs()
private static MemberUtils.Executable
of(java.lang.reflect.Constructor<?> constructor)
private static MemberUtils.Executable
of(java.lang.reflect.Method method)
-
-
-
Method Detail
-
of
private static MemberUtils.Executable of(java.lang.reflect.Method method)
-
of
private static MemberUtils.Executable of(java.lang.reflect.Constructor<?> constructor)
-
getParameterTypes
public java.lang.Class<?>[] getParameterTypes()
-
isVarArgs
public boolean isVarArgs()
-
-