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>>
_annotations
private MethodBuilder
_declaringMethod
private java.lang.String
_name
private Type<?>
_parameterType
private 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 void
addCustomAnnotation(AnnotationBuilder<? extends java.lang.annotation.Annotation> annotation)
ReadOnlyList<AnnotationBuilder<? extends java.lang.annotation.Annotation>>
getCustomAnnotations()
java.lang.String
getName()
Type<?>
getParameterType()
int
getPosition()
(package private) void
setName(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)
-
-