public static class MethodElement.ParameterElement extends Object implements VariableElement
VariableElement for parameters of
MethodElement instances.| 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) |
TypeMirror |
asType() |
boolean |
equals(Object obj) |
<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() |
int |
hashCode() |
MethodElement.ParameterElement |
setFinal() |
MethodElement.ParameterElement |
setModifiers(Iterable<Modifier> modifiers) |
public 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 VariableElementpublic int hashCode()
Copyright © 2015 Google, Inc.. All rights reserved.