public class ReflectionConstructor extends BaseMethodReference implements Method
Reference.InvalidReferenceException| Constructor and Description |
|---|
ReflectionConstructor(java.lang.reflect.Constructor constructor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Gets the access flags for this method.
|
java.util.Set<? extends Annotation> |
getAnnotations()
Gets a set of the annotations that are applied to this method.
|
java.lang.String |
getDefiningClass()
Gets the type of the class that defines this method.
|
MethodImplementation |
getImplementation()
Gets a MethodImplementation object that defines the implementation of the method.
|
java.lang.String |
getName()
Gets the name of this method.
|
java.util.List<? extends MethodParameter> |
getParameters()
Gets a list of the parameters of this method.
|
java.util.List<java.lang.String> |
getParameterTypes()
Gets a list of the types of the parameters of this method.
|
java.lang.String |
getReturnType()
Gets the return type of this method.
|
compareTo, equals, hashCode, toStringvalidateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, equals, hashCodevalidateReferencepublic ReflectionConstructor(java.lang.reflect.Constructor constructor)
@Nonnull public java.util.List<? extends MethodParameter> getParameters()
MethodgetParameters in interface Methodpublic int getAccessFlags()
MethodgetAccessFlags in interface MembergetAccessFlags in interface Method@Nonnull public java.util.Set<? extends Annotation> getAnnotations()
MethodgetAnnotations in interface AnnotatablegetAnnotations in interface Method@Nullable public MethodImplementation getImplementation()
MethodgetImplementation in interface Method@Nonnull public java.lang.String getDefiningClass()
MethodgetDefiningClass in interface MembergetDefiningClass in interface MethodgetDefiningClass in interface MethodReference@Nonnull public java.lang.String getName()
Method@Nonnull public java.util.List<java.lang.String> getParameterTypes()
MethodReferencegetParameterTypes in interface MethodReference@Nonnull public java.lang.String getReturnType()
MethodgetReturnType in interface MethodgetReturnType in interface MethodReference