Package com.yworks.yshrink.ant.filters
Class MethodFilter
- java.lang.Object
-
- com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
-
- com.yworks.yshrink.ant.filters.PatternMatchedFilter
-
- com.yworks.yshrink.ant.filters.MethodFilter
-
- All Implemented Interfaces:
EntryPointFilter
- Direct Known Subclasses:
SerializationFilter
public class MethodFilter extends PatternMatchedFilter
The type Method filter.
-
-
Constructor Summary
Constructors Constructor Description MethodFilter(org.apache.tools.ant.Project project)Instantiates a new Method filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMethodSection(MethodSection methodSection)Add method section.booleanisEntryPointMethod(Model model, ClassDescriptor cd, MethodDescriptor md)Is entry point method boolean.-
Methods inherited from class com.yworks.yshrink.ant.filters.PatternMatchedFilter
match
-
Methods inherited from class com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
isEntryPointClass, isEntryPointField, setRetainAttribute
-
-
-
-
Method Detail
-
addMethodSection
public void addMethodSection(MethodSection methodSection)
Add method section.- Parameters:
methodSection- the method section
-
isEntryPointMethod
public boolean isEntryPointMethod(Model model, ClassDescriptor cd, MethodDescriptor md)
Description copied from interface:EntryPointFilterIs entry point method boolean.- Specified by:
isEntryPointMethodin interfaceEntryPointFilter- Overrides:
isEntryPointMethodin classAbstractEntryPointFilter- Parameters:
model- the modelcd- the cdmd- the md- Returns:
- the boolean
-
-