public class NamedPropertyCriteria extends Object implements PropertyCriteria
PropertyCriteria
Constructor and Description |
---|
NamedPropertyCriteria(String... propertyNames) |
Modifier and Type | Method and Description |
---|---|
boolean |
fieldMatches(Field f)
Tests whether the specified field matches the criteria
|
boolean |
methodMatches(Method m)
Tests whether the specified method matches the criteria
|
public NamedPropertyCriteria(String... propertyNames)
public boolean fieldMatches(Field f)
PropertyCriteria
fieldMatches
in interface PropertyCriteria
public boolean methodMatches(Method m)
PropertyCriteria
methodMatches
in interface PropertyCriteria
Copyright © 2017 JBoss by Red Hat. All rights reserved.