| Package | Description |
|---|---|
| com.github.javaparser.ast.body | |
| com.github.javaparser.resolution.declarations | |
| com.github.javaparser.resolution.types |
| Modifier and Type | Method and Description |
|---|---|
ResolvedFieldDeclaration |
FieldDeclaration.resolve() |
| Modifier and Type | Method and Description |
|---|---|
default ResolvedFieldDeclaration |
ResolvedFieldDeclaration.asField() |
default ResolvedFieldDeclaration |
ResolvedDeclaration.asField()
Return this as a FieldDeclaration or throw an UnsupportedOperationException
|
default ResolvedFieldDeclaration |
ResolvedReferenceTypeDeclaration.getField(String name)
Note that the type of the field should be expressed using the type variables of this particular type.
|
default ResolvedFieldDeclaration |
ResolvedReferenceTypeDeclaration.getVisibleField(String name)
Consider only field or inherited field which is not private.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedFieldDeclaration> |
ResolvedReferenceTypeDeclaration.getAllFields()
Return a list of all fields, either declared in this declaration or inherited.
|
default List<ResolvedFieldDeclaration> |
ResolvedReferenceTypeDeclaration.getAllNonStaticFields()
Return a list of all the non static fields, either declared or inherited.
|
default List<ResolvedFieldDeclaration> |
ResolvedReferenceTypeDeclaration.getAllStaticFields()
Return a list of all the static fields, either declared or inherited.
|
default List<ResolvedFieldDeclaration> |
ResolvedReferenceTypeDeclaration.getDeclaredFields()
Return a list of all the fields declared in this type.
|
default List<ResolvedFieldDeclaration> |
ResolvedReferenceTypeDeclaration.getVisibleFields()
Return a list of all fields declared and the inherited ones which are not private.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedFieldDeclaration> |
ResolvedReferenceType.getAllFieldsVisibleToInheritors()
Fields which are visible to inheritors.
|
abstract Set<ResolvedFieldDeclaration> |
ResolvedReferenceType.getDeclaredFields()
Fields declared on this type.
|
Copyright © 2007–2019. All rights reserved.