Package randoop.reflection
Interface ReflectionPredicate
- All Known Implementing Classes:
DefaultReflectionPredicate
,EverythingAllowedPredicate
public interface ReflectionPredicate
Methods that indicate whether a class, method, constructor, or field should be used in Randoop's
exploration.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicate whether Randoop should use a class.boolean
test
(Constructor<?> m) Indicate whether Randoop should use a constructor.boolean
Indicate whether Randoop should use a field.boolean
Indicate whether Randoop should use a method.
-
Method Details
-
test
Indicate whether Randoop should use a class.- Parameters:
c
- the class to test- Returns:
- true if the class meets the predicate criteria, false otherwise
-
test
Indicate whether Randoop should use a method.- Parameters:
m
- the method to test- Returns:
- true if the method meets the predicate criteria, false otherwise
-
test
Indicate whether Randoop should use a constructor.- Parameters:
m
- the constructor to test- Returns:
- true if the constructor meets the predicate criteria, false otherwise
-
test
Indicate whether Randoop should use a field.- Parameters:
f
- the field to test- Returns:
- true if the field meets the predicate criteria, false otherwise
-