Package com.yworks.yshrink.ant.filters
Class FieldFilter
- java.lang.Object
-
- com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
-
- com.yworks.yshrink.ant.filters.PatternMatchedFilter
-
- com.yworks.yshrink.ant.filters.FieldFilter
-
- All Implemented Interfaces:
EntryPointFilter
public class FieldFilter extends PatternMatchedFilter
The type Field filter.
-
-
Constructor Summary
Constructors Constructor Description FieldFilter(org.apache.tools.ant.Project project)Instantiates a new Field filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFieldSection(FieldSection fieldSection)Add field section.booleanisEntryPointField(Model model, ClassDescriptor cd, FieldDescriptor fd)Is entry point field boolean.-
Methods inherited from class com.yworks.yshrink.ant.filters.PatternMatchedFilter
match
-
Methods inherited from class com.yworks.yshrink.ant.filters.AbstractEntryPointFilter
isEntryPointClass, isEntryPointMethod, setRetainAttribute
-
-
-
-
Method Detail
-
addFieldSection
public void addFieldSection(FieldSection fieldSection)
Add field section.- Parameters:
fieldSection- the field section
-
isEntryPointField
public boolean isEntryPointField(Model model, ClassDescriptor cd, FieldDescriptor fd)
Description copied from interface:EntryPointFilterIs entry point field boolean.- Specified by:
isEntryPointFieldin interfaceEntryPointFilter- Overrides:
isEntryPointFieldin classAbstractEntryPointFilter- Parameters:
model- the modelcd- the cdfd- the fd- Returns:
- the boolean
-
-