Package randoop.reflection
Class EverythingAllowedPredicate
- java.lang.Object
-
- randoop.reflection.EverythingAllowedPredicate
-
- All Implemented Interfaces:
ReflectionPredicate
public class EverythingAllowedPredicate extends Object implements ReflectionPredicate
-
-
Constructor Summary
Constructors Constructor Description EverythingAllowedPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Class<?> c)
Indicate whether Randoop should use a class.boolean
test(Constructor<?> m)
Indicate whether Randoop should use a constructor.boolean
test(Field f)
Indicate whether Randoop should use a field.boolean
test(Method m)
Indicate whether Randoop should use a method.
-
-
-
Method Detail
-
test
public boolean test(Class<?> c)
Description copied from interface:ReflectionPredicate
Indicate whether Randoop should use a class.- Specified by:
test
in interfaceReflectionPredicate
- Parameters:
c
- the class to test- Returns:
- true if the class meets the predicate criteria, false otherwise
-
test
public boolean test(Method m)
Description copied from interface:ReflectionPredicate
Indicate whether Randoop should use a method.- Specified by:
test
in interfaceReflectionPredicate
- Parameters:
m
- the method to test- Returns:
- true if the method meets the predicate criteria, false otherwise
-
test
public boolean test(Constructor<?> m)
Description copied from interface:ReflectionPredicate
Indicate whether Randoop should use a constructor.- Specified by:
test
in interfaceReflectionPredicate
- Parameters:
m
- the constructor to test- Returns:
- true if the constructor meets the predicate criteria, false otherwise
-
test
public boolean test(Field f)
Description copied from interface:ReflectionPredicate
Indicate whether Randoop should use a field.- Specified by:
test
in interfaceReflectionPredicate
- Parameters:
f
- the field to test- Returns:
- true if the field meets the predicate criteria, false otherwise
-
-