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 Settingspublic Visibility getClassVisibility()
getClassVisibility in interface Settingspublic boolean isFieldLevel()
isFieldLevel in interface Settingspublic Visibility getFieldVisibility()
getFieldVisibility in interface Settingspublic boolean isConstructorLevel()
isConstructorLevel in interface Settingspublic Visibility getConstructorVisibility()
getConstructorVisibility in interface Settingspublic boolean isMethodLevel()
isMethodLevel in interface Settingspublic Visibility getMethodVisibility()
getMethodVisibility in interface Settingspublic boolean isParameterLevel()
isParameterLevel in interface Settingspublic Settings foldAnnotations(boolean fold)
foldAnnotations in interface Settingsfold - True if folding should be performed; otherwise falsepublic boolean isFoldAnnotations()
isFoldAnnotations in interface Settingspublic Settings includeAbstract(boolean include)
includeAbstract in interface Settingsinclude - True if abstract classes should be included; otherwise falsepublic boolean isIncludeAbstract()
isIncludeAbstract in interface SettingsCopyright ? 2009 Red Hat Middleware LLC (http://www.jboss.com/)