/**
* Returns field with given name (case is ignored). Or <code>null</code> if
* field is not found.
+ *
+ * @param fieldToSearch
+ * field name (case is ignored)
+ * @return field matching given name
*/
protected FieldDescriptor getFieldIgnoreCase(final String fieldToSearch) {
public String getGraphId() {
final String result = "class_"
+ fullyQualifiedName.replace('.', '_').replace(";", "")
- .replace("[L", "").replace('$', '_');
+ .replace("[L", "").replace('$', '_');
return result;
}
/**
* Checks if class has field with given name (case is ignored). Returns
* <code>true</code> if such field is found.
+ *
+ * @param fieldToSearch
+ * field to search for (case is ignored)
+ *
+ * @return <code>true</code> if field is found.
*/
protected boolean hasFieldIgnoreCase(final String fieldToSearch) {
if (Utils.isSystemPackage(fullyQualifiedName))
return false;
- if (!getClassGraph().getFilter().isClassShown(fullyQualifiedName))
+ if (!getClassGraph().isClassShown(fullyQualifiedName))
return false;
if (isArray)