public class ExecutableElementAccessor extends Object
Accessor
that wraps an ExecutableElement
.Constructor and Description |
---|
ExecutableElementAccessor(ExecutableElement element) |
Modifier and Type | Method and Description |
---|---|
TypeMirror |
getAccessedType()
This returns the type that this accessor gives as a return.
|
T |
getElement() |
ExecutableElement |
getExecutable() |
Set<Modifier> |
getModifiers() |
Name |
getSimpleName() |
public ExecutableElementAccessor(ExecutableElement element)
public TypeMirror getAccessedType()
Accessor
ExecutableElement.getReturnType()
if this is a method accessor,
or Element.asType()
for field accessors.public ExecutableElement getExecutable()
ExecutableElement
, or null
if the accessor does not have onepublic Name getSimpleName()
getSimpleName
in interface Accessor
public Set<Modifier> getModifiers()
getModifiers
in interface Accessor
public T getElement()
getElement
in interface Accessor
Element
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.