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, wait
byDescription, byDescription, byName
public FieldsByName(String name)
public boolean matches(Field field)
Fields
public boolean matches(String className, String fieldName, String fieldDescriptor)
Fields
matches
in interface Fields
className
- 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.