Package org.jruby.javasupport
Class JavaConstructor
java.lang.Object
org.jruby.javasupport.JavaCallable
org.jruby.javasupport.JavaConstructor
- All Implemented Interfaces:
ParameterTypes
-
Field Summary
Fields inherited from class org.jruby.javasupport.JavaCallable
parameterTypes -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaConstructorcreate(Ruby runtime, Constructor<?> constructor) Deprecated.final booleanClass<?> final Class<?>[]Type[]Type[]static JavaConstructorgetMatchingConstructor(Ruby runtime, Class<?> javaClass, Class<?>[] argumentTypes) final intAnnotation[][]final ConstructorgetValue()final inthashCode()final booleannewInstanceDirect(ThreadContext context) newInstanceDirect(ThreadContext context, Object arg0) newInstanceDirect(ThreadContext context, Object... arguments) newInstanceDirect(ThreadContext context, Object arg0, Object arg1) newInstanceDirect(ThreadContext context, Object arg0, Object arg1, Object arg2) newInstanceDirect(ThreadContext context, Object arg0, Object arg1, Object arg2, Object arg3) static JavaConstructorwrap(Constructor<?> constructor) Methods inherited from class org.jruby.javasupport.JavaCallable
checkArity, getArity, getParameterTypes, handleInvocationTargetEx, handleThrowable, inspectParameterTypes, toString
-
Method Details
-
getValue
-
create
Deprecated. -
wrap
-
getMatchingConstructor
public static JavaConstructor getMatchingConstructor(Ruby runtime, Class<?> javaClass, Class<?>[] argumentTypes) -
equals
- Specified by:
equalsin classJavaCallable
-
hashCode
public final int hashCode()- Specified by:
hashCodein classJavaCallable
-
getExceptionTypes
- Specified by:
getExceptionTypesin interfaceParameterTypes- Specified by:
getExceptionTypesin classJavaCallable
-
getGenericParameterTypes
- Specified by:
getGenericParameterTypesin classJavaCallable
-
getGenericExceptionTypes
- Specified by:
getGenericExceptionTypesin classJavaCallable
-
getParameterAnnotations
- Specified by:
getParameterAnnotationsin classJavaCallable
-
isVarArgs
public final boolean isVarArgs()- Specified by:
isVarArgsin interfaceParameterTypes- Specified by:
isVarArgsin classJavaCallable
-
getModifiers
public final int getModifiers()- Specified by:
getModifiersin classJavaCallable
-
toGenericString
- Specified by:
toGenericStringin classJavaCallable
-
getDeclaringClass
-
accessibleObject
- Specified by:
accessibleObjectin classJavaCallable
-
newInstanceDirect
-
newInstanceDirect
-
newInstanceDirect
-
newInstanceDirect
-
newInstanceDirect
-
newInstanceDirect
-