public class SettingsImpl extends java.lang.Object implements Settings
Constructor and Description |
---|
SettingsImpl(boolean classLevel,
Visibility classVisibility,
boolean fieldLevel,
Visibility fieldVisibility,
boolean constructorLevel,
Visibility constructorVisibility,
boolean methodLevel,
Visibility methodVisibility,
boolean parameterLevel)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Settings |
foldAnnotations(boolean fold)
Fold annotations on to classes that extends/implements the class
where the annotation is located
|
Visibility |
getClassVisibility()
Get the class visibility setting
|
Visibility |
getConstructorVisibility()
Get the constructor visibility setting
|
Visibility |
getFieldVisibility()
Get the field visibility setting
|
Visibility |
getMethodVisibility()
Get the method visibility setting
|
Settings |
includeAbstract(boolean include)
Include abstract classes in the result of hasAnnotation/getAnnotation -
default: false
|
boolean |
isClassLevel()
Is the class level enabled ?
|
boolean |
isConstructorLevel()
Is the constructor level enabled ?
|
boolean |
isFieldLevel()
Is the field level enabled ?
|
boolean |
isFoldAnnotations()
Is folding annotations enabled ?
|
boolean |
isIncludeAbstract()
Is abstrac classes included in the result of hasAnnotation/getAnnotation
|
boolean |
isMethodLevel()
Is the method level enabled ?
|
boolean |
isParameterLevel()
Is the parameter level enabled ?
|
public SettingsImpl(boolean classLevel, Visibility classVisibility, boolean fieldLevel, Visibility fieldVisibility, boolean constructorLevel, Visibility constructorVisibility, boolean methodLevel, Visibility methodVisibility, boolean parameterLevel)
classLevel
- Was the class level enabledclassVisibility
- The class visibility settingfieldLevel
- Was the field level enabledfieldVisibility
- The field visibility settingconstructorLevel
- Was the constructor level enabledconstructorVisibility
- The constructor visibility settingmethodLevel
- Was the method level enabledmethodVisibility
- The method visibility settingparameterLevel
- Was the parameter level enabledpublic boolean isClassLevel()
isClassLevel
in interface Settings
public Visibility getClassVisibility()
getClassVisibility
in interface Settings
public boolean isFieldLevel()
isFieldLevel
in interface Settings
public Visibility getFieldVisibility()
getFieldVisibility
in interface Settings
public boolean isConstructorLevel()
isConstructorLevel
in interface Settings
public Visibility getConstructorVisibility()
getConstructorVisibility
in interface Settings
public boolean isMethodLevel()
isMethodLevel
in interface Settings
public Visibility getMethodVisibility()
getMethodVisibility
in interface Settings
public boolean isParameterLevel()
isParameterLevel
in interface Settings
public Settings foldAnnotations(boolean fold)
foldAnnotations
in interface Settings
fold
- True if folding should be performed; otherwise falsepublic boolean isFoldAnnotations()
isFoldAnnotations
in interface Settings
public Settings includeAbstract(boolean include)
includeAbstract
in interface Settings
include
- True if abstract classes should be included; otherwise falsepublic boolean isIncludeAbstract()
isIncludeAbstract
in interface Settings
Copyright ? 2009 Red Hat Middleware LLC (http://www.jboss.com/)