Package com.strobel.reflection.emit
Class ParameterBuilder
- java.lang.Object
-
- com.strobel.reflection.emit.ParameterBuilder
-
public final class ParameterBuilder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>>_annotationsprivate MethodBuilder_declaringMethodprivate java.lang.String_nameprivate Type<?>_parameterTypeprivate int_position
-
Constructor Summary
Constructors Constructor Description ParameterBuilder(MethodBuilder declaringMethod, int position, java.lang.String name, Type<?> parameterType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation)ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>>getCustomAnnotations()java.lang.StringgetName()Type<?>getParameterType()intgetPosition()(package private) voidsetName(java.lang.String name)
-
-
-
Field Detail
-
_declaringMethod
private final MethodBuilder _declaringMethod
-
_parameterType
private final Type<?> _parameterType
-
_position
private final int _position
-
_annotations
private ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> _annotations
-
_name
private java.lang.String _name
-
-
Constructor Detail
-
ParameterBuilder
ParameterBuilder(MethodBuilder declaringMethod, int position, java.lang.String name, Type<?> parameterType)
-
-
Method Detail
-
addCustomAnnotation
public void addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation)
-
getCustomAnnotations
public ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>> getCustomAnnotations()
-
getName
public java.lang.String getName()
-
getParameterType
public Type<?> getParameterType()
-
getPosition
public int getPosition()
-
setName
void setName(java.lang.String name)
-
-