public class VarModelImpl extends Object implements VarModel
| Constructor and Description |
|---|
VarModelImpl(VariableElement element,
TypeMirror type,
ModelFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,Object>> |
annotations() |
boolean |
isFinal() |
boolean |
isPublic() |
boolean |
isStatic() |
MethodModel |
method() |
String |
name() |
String |
packageName() |
String |
toString() |
TypeModel |
type()
Get type model representing the return type.
|
public VarModelImpl(VariableElement element, TypeMirror type, ModelFactory factory)
public TypeModel type()
ElementModeltype in interface ElementModelpublic MethodModel method()
public String packageName()
packageName in interface VarModelpublic boolean isStatic()
isStatic in interface ElementModelpublic boolean isPublic()
isPublic in interface ElementModelpublic boolean isFinal()
isFinal in interface ElementModelpublic Map<String,Map<String,Object>> annotations()
annotations in interface ElementModelCopyright © 2019. All rights reserved.