Package com.yworks.yshrink.ant.filters
Interface EntryPointFilter
-
- All Known Implementing Classes:
AbstractEntryPointFilter,AllMainMethodsFilter,AttributeFilter,ClassFilter,EntryPointFilters,EntryPointJarFilter,FieldFilter,MethodFilter,PatternMatchedFilter,SerializationFilter
public interface EntryPointFilterThe interface Entry point filter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEntryPointClass(Model model, ClassDescriptor cd)Is entry point class boolean.booleanisEntryPointField(Model model, ClassDescriptor cd, FieldDescriptor fd)Is entry point field boolean.booleanisEntryPointMethod(Model model, ClassDescriptor cd, MethodDescriptor md)Is entry point method boolean.voidsetRetainAttribute(ClassDescriptor cd)Sets retain attribute.
-
-
-
Method Detail
-
isEntryPointClass
boolean isEntryPointClass(Model model, ClassDescriptor cd)
Is entry point class boolean.- Parameters:
model- the modelcd- the cd- Returns:
- the boolean
-
isEntryPointMethod
boolean isEntryPointMethod(Model model, ClassDescriptor cd, MethodDescriptor md)
Is entry point method boolean.- Parameters:
model- the modelcd- the cdmd- the md- Returns:
- the boolean
-
isEntryPointField
boolean isEntryPointField(Model model, ClassDescriptor cd, FieldDescriptor fd)
Is entry point field boolean.- Parameters:
model- the modelcd- the cdfd- the fd- Returns:
- the boolean
-
setRetainAttribute
void setRetainAttribute(ClassDescriptor cd)
Sets retain attribute.- Parameters:
cd- the cd
-
-