public final class ConstructorBuilder extends ConstructorInfo
| Constructor and Description |
|---|
ConstructorBuilder(int modifiers,
TypeList parameterTypes,
TypeList thrownTypes,
TypeBuilder declaringType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation) |
java.lang.StringBuilder |
appendErasedSignature(java.lang.StringBuilder sb) |
java.lang.StringBuilder |
appendSimpleDescription(java.lang.StringBuilder sb) |
void |
defineParameter(int position,
java.lang.String name) |
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass) |
java.lang.annotation.Annotation[] |
getAnnotations() |
CodeGenerator |
getCodeGenerator() |
com.strobel.core.ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> |
getCustomAnnotations() |
java.lang.annotation.Annotation[] |
getDeclaredAnnotations() |
Type |
getDeclaringType() |
MethodBuilder |
getMethodBuilder() |
int |
getModifiers() |
ParameterList |
getParameters() |
java.lang.reflect.Constructor<?> |
getRawConstructor() |
Type |
getReflectedType() |
SignatureType |
getSignatureType() |
boolean |
isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass) |
boolean |
isFinished() |
boolean |
isTypeCreated() |
appendBriefDescription, appendDescription, appendErasedDescription, appendSignature, getMemberType, getName, invokegetCallingConvention, getThrownTypesgetAnnotationsByType, getBriefDescription, getDeclaredAnnotation, getDeclaredAnnotationsByType, getDescription, getErasedDescription, getErasedSignature, getSignature, getSimpleDescription, isEquivalentTo, isFinal, isNonPublic, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, toStringpublic ConstructorBuilder(int modifiers,
TypeList parameterTypes,
TypeList thrownTypes,
TypeBuilder declaringType)
public boolean isFinished()
public boolean isTypeCreated()
public MethodBuilder getMethodBuilder()
public CodeGenerator getCodeGenerator()
public java.lang.reflect.Constructor<?> getRawConstructor()
getRawConstructor in class ConstructorInfopublic java.lang.StringBuilder appendErasedSignature(java.lang.StringBuilder sb)
appendErasedSignature in class ConstructorInfopublic java.lang.StringBuilder appendSimpleDescription(java.lang.StringBuilder sb)
appendSimpleDescription in class ConstructorInfopublic Type getDeclaringType()
getDeclaringType in class MemberInfopublic int getModifiers()
getModifiers in class MemberInfopublic SignatureType getSignatureType()
getSignatureType in class MethodBasepublic ParameterList getParameters()
getParameters in class MethodBasepublic void defineParameter(int position,
java.lang.String name)
public Type getReflectedType()
getReflectedType in class MemberInfopublic <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
getAnnotation in interface java.lang.reflect.AnnotatedElementgetAnnotation in class ConstructorInfo@NotNull public java.lang.annotation.Annotation[] getAnnotations()
getAnnotations in interface java.lang.reflect.AnnotatedElementgetAnnotations in class ConstructorInfo@NotNull public java.lang.annotation.Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface java.lang.reflect.AnnotatedElementgetDeclaredAnnotations in class ConstructorInfopublic boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
isAnnotationPresent in interface java.lang.reflect.AnnotatedElementisAnnotationPresent in class ConstructorInfopublic void addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation)
public com.strobel.core.ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> getCustomAnnotations()