public static class MethodElement.ParameterElement extends ValueType implements VariableElement
VariableElement for parameters of
MethodElement instances.ValueType.FieldReceiver| Constructor and Description |
|---|
MethodElement.ParameterElement(TypeMirror type,
Name simpleName) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(ElementVisitor<R,P> v,
P p) |
MethodElement.ParameterElement |
addAnnotationMirror(AnnotationMirror annotationMirror) |
protected void |
addFields(ValueType.FieldReceiver fields)
Implement this method to report the name and value of each field.
|
TypeMirror |
asType() |
<A extends Annotation> |
getAnnotation(Class<A> annotationType) |
ArrayList<AnnotationMirror> |
getAnnotationMirrors() |
Object |
getConstantValue() |
List<? extends Element> |
getEnclosedElements() |
MethodElement |
getEnclosingElement() |
ElementKind |
getKind() |
EnumSet<Modifier> |
getModifiers() |
Name |
getSimpleName() |
MethodElement.ParameterElement |
setFinal() |
MethodElement.ParameterElement |
setModifiers(Iterable<Modifier> modifiers) |
equals, hashCode, toStringpublic MethodElement.ParameterElement(TypeMirror type, Name simpleName)
public TypeMirror asType()
public ElementKind getKind()
public ArrayList<AnnotationMirror> getAnnotationMirrors()
getAnnotationMirrors in interface Elementpublic MethodElement.ParameterElement addAnnotationMirror(AnnotationMirror annotationMirror)
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
getAnnotation in interface Elementpublic EnumSet<Modifier> getModifiers()
getModifiers in interface Elementpublic MethodElement.ParameterElement setFinal()
public MethodElement.ParameterElement setModifiers(Iterable<Modifier> modifiers)
public Name getSimpleName()
getSimpleName in interface Elementpublic MethodElement getEnclosingElement()
getEnclosingElement in interface Elementpublic List<? extends Element> getEnclosedElements()
getEnclosedElements in interface Elementpublic <R,P> R accept(ElementVisitor<R,P> v, P p)
public Object getConstantValue()
getConstantValue in interface VariableElementprotected void addFields(ValueType.FieldReceiver fields)
ValueTypeCopyright © 2015 Google, Inc.. All rights reserved.