Package | Description |
---|---|
com.github.javaparser.symbolsolver.model.declarations |
Modifier and Type | Method and Description |
---|---|
default FieldDeclaration |
Declaration.asField()
Return this as a FieldDeclaration or throw an UnsupportedOperationException
|
default FieldDeclaration |
FieldDeclaration.asField() |
default FieldDeclaration |
ReferenceTypeDeclaration.getField(String name)
Note that the type of the field should be expressed using the type variables of this particular type.
|
default FieldDeclaration |
ReferenceTypeDeclaration.getVisibleField(String name)
Consider only field or inherited field which is not private.
|
Modifier and Type | Method and Description |
---|---|
List<FieldDeclaration> |
ReferenceTypeDeclaration.getAllFields()
Return a list of all fields, either declared in this declaration or inherited.
|
default List<FieldDeclaration> |
ReferenceTypeDeclaration.getAllNonStaticFields()
Return a list of all the non static fields, either declared or inherited.
|
default List<FieldDeclaration> |
ReferenceTypeDeclaration.getAllStaticFields()
Return a list of all the static fields, either declared or inherited.
|
default List<FieldDeclaration> |
ReferenceTypeDeclaration.getDeclaredFields()
Return a list of all the fields declared in this type.
|
default List<FieldDeclaration> |
ReferenceTypeDeclaration.getVisibleFields()
Return a list of all fields declared and the inherited ones which are not private.
|
Copyright © 2016. All rights reserved.