Package com.yworks.yshrink.ant.filters
Class AllMainMethodsFilter
- java.lang.Object
-
- com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
-
- com.yworks.yshrink.ant.filters.AllMainMethodsFilter
-
- All Implemented Interfaces:
EntryPointFilter
public class AllMainMethodsFilter extends AbstractEntryPointFilter
marks all main methods as entry points
-
-
Constructor Summary
Constructors Constructor Description AllMainMethodsFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEntryPointMethod(Model model, ClassDescriptor cd, MethodDescriptor md)Is entry point method boolean.-
Methods inherited from class com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
isEntryPointClass, isEntryPointField, setRetainAttribute
-
-
-
-
Method Detail
-
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
-
-