| Constructor and Description |
|---|
FieldsByName(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Field field)
defines matching with runtime (reflection) fields.
|
boolean |
matches(String className,
String fieldName,
String fieldDescriptor)
defines matching with compile time field specifications.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbyDescription, byDescription, byNamepublic FieldsByName(String name)
public boolean matches(Field field)
Fieldspublic boolean matches(String className, String fieldName, String fieldDescriptor)
Fieldsmatches in interface FieldsclassName - the internal name of the class (e.g. java/lang/String for java.lang.String)fieldName - the name of the field (e.g chars)fieldDescriptor - the type descriptor of the field (e.g. [C; for char[])Copyright © 2020. All rights reserved.