Uses of Interface
net.sourceforge.pmd.properties.PropertyDescriptor
-
-
Uses of PropertyDescriptor in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang with parameters of type PropertyDescriptor Modifier and Type Method Description protected void
ParserOptions. defineProperty(PropertyDescriptor<?> propertyDescriptor)
protected <T> void
ParserOptions. defineProperty(PropertyDescriptor<T> propertyDescriptor, T initialValue)
<T> T
ParserOptions. getProperty(PropertyDescriptor<T> propertyDescriptor)
protected <T> void
ParserOptions. setProperty(PropertyDescriptor<T> propertyDescriptor, T initialValue)
-
Uses of PropertyDescriptor in net.sourceforge.pmd.lang.rule
Methods in net.sourceforge.pmd.lang.rule that return PropertyDescriptor Modifier and Type Method Description PropertyDescriptor<?>
AbstractDelegateRule. getPropertyDescriptor(String name)
Deprecated.Methods in net.sourceforge.pmd.lang.rule that return types with arguments of type PropertyDescriptor Modifier and Type Method Description Map<PropertyDescriptor<?>,Object>
RuleReference. getOverriddenPropertiesByPropertyDescriptor()
List<PropertyDescriptor<?>>
RuleReference. getOverriddenPropertyDescriptors()
Map<PropertyDescriptor<?>,Object>
AbstractDelegateRule. getPropertiesByPropertyDescriptor()
Deprecated.List<PropertyDescriptor<?>>
AbstractDelegateRule. getPropertyDescriptors()
Deprecated.Set<PropertyDescriptor<?>>
AbstractDelegateRule. ignoredProperties()
Deprecated.Methods in net.sourceforge.pmd.lang.rule with parameters of type PropertyDescriptor Modifier and Type Method Description void
AbstractDelegateRule. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
Deprecated.void
RuleReference. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
<T> T
AbstractDelegateRule. getProperty(PropertyDescriptor<T> propertyDescriptor)
Deprecated.boolean
AbstractDelegateRule. hasDescriptor(PropertyDescriptor<?> descriptor)
Deprecated.boolean
RuleReference. hasDescriptor(PropertyDescriptor<?> descriptor)
boolean
RuleReference. hasOverriddenProperty(PropertyDescriptor<?> descriptor)
Deprecated.boolean
AbstractDelegateRule. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
Deprecated.boolean
RuleReference. isPropertyOverridden(PropertyDescriptor<?> descriptor)
<T> void
AbstractDelegateRule. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
Deprecated.<T> void
RuleReference. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
void
RuleReference. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated. -
Uses of PropertyDescriptor in net.sourceforge.pmd.lang.rule.xpath
Fields in net.sourceforge.pmd.lang.rule.xpath with type parameters of type PropertyDescriptor Modifier and Type Field Description protected Map<PropertyDescriptor<?>,Object>
AbstractXPathRuleQuery. properties
Deprecated.The properties.Methods in net.sourceforge.pmd.lang.rule.xpath with parameters of type PropertyDescriptor Modifier and Type Method Description static net.sf.saxon.om.ValueRepresentation
SaxonXPathRuleQuery. getRepresentation(PropertyDescriptor<?> descriptor, Object value)
Deprecated.Internal: this has been moved in PMD 7.Method parameters in net.sourceforge.pmd.lang.rule.xpath with type arguments of type PropertyDescriptor Modifier and Type Method Description void
AbstractXPathRuleQuery. setProperties(Map<PropertyDescriptor<?>,Object> properties)
Deprecated.void
XPathRuleQuery. setProperties(Map<PropertyDescriptor<?>,Object> properties)
Deprecated.Set the properties to use during the XPath query. -
Uses of PropertyDescriptor in net.sourceforge.pmd.properties
Subinterfaces of PropertyDescriptor in net.sourceforge.pmd.properties Modifier and Type Interface Description interface
EnumeratedPropertyDescriptor<E,T>
Deprecated.Will be removed with 7.0.0.interface
MultiValuePropertyDescriptor<V>
Deprecated.The hard divide between multi- and single-value properties will be removed with 7.0.0interface
NumericPropertyDescriptor<T>
Deprecated.Will be removed with 7.0.0.interface
PackagedPropertyDescriptor<T>
Deprecated.interface
SingleValuePropertyDescriptor<T>
Deprecated.The hard divide between multi- and single-value properties will be removed with 7.0.0Classes in net.sourceforge.pmd.properties that implement PropertyDescriptor Modifier and Type Class Description class
BooleanMultiProperty
Deprecated.Not useful, will be removed with 7.0.0class
BooleanProperty
Deprecated.Use aPropertyDescriptor<Boolean>
instead.class
CharacterMultiProperty
Deprecated.Use aPropertyDescriptor<List<Character>>
.class
CharacterProperty
Deprecated.Use aPropertyDescriptor<Character>
.class
DoubleMultiProperty
Deprecated.Use aPropertyDescriptor<List<Double>>
instead.class
DoubleProperty
Deprecated.Use aPropertyDescriptor<Double>
instead.class
EnumeratedMultiProperty<E>
Deprecated.Use aPropertyDescriptor<List<E>>
instead.class
EnumeratedProperty<E>
Deprecated.Use aPropertyDescriptor<E>
instead.class
FileProperty
Deprecated.Will be removed with 7.0.0 with no scheduled replacementclass
FloatMultiProperty
Deprecated.Use aPropertyDescriptor<List<Double>>
instead.class
FloatProperty
Deprecated.UsePropertyFactory.doubleProperty(String)
instead.class
IntegerMultiProperty
Deprecated.Use aPropertyDescriptor<List<Integer>>
instead.class
IntegerProperty
Deprecated.Use aPropertyDescriptor<Integer>
instead.class
LongMultiProperty
Deprecated.Use aPropertyDescriptor<List<Long>>
instead.class
LongProperty
Deprecated.Use aPropertyDescriptor<Long>
instead.class
MethodMultiProperty
Deprecated.Will be removed with 7.0.0 with no scheduled replacementclass
MethodProperty
Deprecated.Not useful, will be remove by 7.0.0class
RegexProperty
Deprecated.Use aPropertyDescriptor<Pattern>
.class
StringMultiProperty
Deprecated.Use aPropertyDescriptor<List<String>>
.class
StringProperty
Deprecated.Use aPropertyDescriptor<String>
.class
TypeMultiProperty
Deprecated.Will be removed with 7.0.0 with no scheduled replacement yetclass
TypeProperty
Deprecated.Will be removed with 7.0.0 with no scheduled replacement yetFields in net.sourceforge.pmd.properties with type parameters of type PropertyDescriptor Modifier and Type Field Description protected List<PropertyDescriptor<?>>
AbstractPropertySource. propertyDescriptors
Deprecated.Will be made private finalprotected Map<PropertyDescriptor<?>,Object>
AbstractPropertySource. propertyValuesByDescriptor
Deprecated.Will be made private finalMethods in net.sourceforge.pmd.properties that return PropertyDescriptor Modifier and Type Method Description abstract PropertyDescriptor<T>
PropertyBuilder. build()
Builds the descriptor and returns it.PropertyDescriptor<C>
PropertyBuilder.GenericCollectionPropertyBuilder. build()
PropertyDescriptor<?>
AbstractPropertySource. getPropertyDescriptor(String name)
PropertyDescriptor<?>
PropertySource. getPropertyDescriptor(String name)
Get the PropertyDescriptor for the given property name.Methods in net.sourceforge.pmd.properties that return types with arguments of type PropertyDescriptor Modifier and Type Method Description protected List<PropertyDescriptor<?>>
AbstractPropertySource. copyPropertyDescriptors()
Deprecated.protected Map<PropertyDescriptor<?>,Object>
AbstractPropertySource. copyPropertyValues()
Map<PropertyDescriptor<?>,Object>
AbstractPropertySource. getOverriddenPropertiesByPropertyDescriptor()
Map<PropertyDescriptor<?>,Object>
PropertySource. getOverriddenPropertiesByPropertyDescriptor()
Returns a modifiable map of the property descriptors that don't use default values, to their overridden value.List<PropertyDescriptor<?>>
AbstractPropertySource. getOverriddenPropertyDescriptors()
List<PropertyDescriptor<?>>
PropertySource. getOverriddenPropertyDescriptors()
Returns a modifiable list of the property descriptors that don't use default values.Map<PropertyDescriptor<?>,Object>
AbstractPropertySource. getPropertiesByPropertyDescriptor()
Map<PropertyDescriptor<?>,Object>
PropertySource. getPropertiesByPropertyDescriptor()
Returns an unmodifiable map of descriptors to property values for the current receiver.List<PropertyDescriptor<?>>
AbstractPropertySource. getPropertyDescriptors()
List<PropertyDescriptor<?>>
PropertySource. getPropertyDescriptors()
Get the descriptors of all defined properties.Set<PropertyDescriptor<?>>
AbstractPropertySource. ignoredProperties()
Deprecated.Set<PropertyDescriptor<?>>
PropertySource. ignoredProperties()
Deprecated.Has no real utility, will be removed by 7.0.0Methods in net.sourceforge.pmd.properties with parameters of type PropertyDescriptor Modifier and Type Method Description int
PropertyDescriptor. compareTo(PropertyDescriptor<?> o)
Deprecated.Comparing property descriptors is not useful within PMDvoid
AbstractPropertySource. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
void
PropertySource. definePropertyDescriptor(PropertyDescriptor<?> propertyDescriptor)
Defines a new property.<T> T
AbstractPropertySource. getProperty(PropertyDescriptor<T> propertyDescriptor)
<T> T
PropertySource. getProperty(PropertyDescriptor<T> propertyDescriptor)
Get the typed value for the given property.boolean
AbstractPropertySource. hasDescriptor(PropertyDescriptor<?> descriptor)
boolean
PropertySource. hasDescriptor(PropertyDescriptor<?> descriptor)
Returns whether the specified property is defined on this property source, in which case it can be set or retrieved withPropertySource.getProperty(PropertyDescriptor)
andPropertySource.setProperty(PropertyDescriptor, Object)
.boolean
AbstractPropertySource. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
boolean
PropertySource. isPropertyOverridden(PropertyDescriptor<?> propertyDescriptor)
Returns true if the given property has been set to a value somewhere in the XML.<T> void
AbstractPropertySource. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
<T> void
PropertySource. setProperty(PropertyDescriptor<T> propertyDescriptor, T value)
Set the property value specified.void
AbstractPropertySource. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated.void
PropertySource. useDefaultValueFor(PropertyDescriptor<?> desc)
Deprecated.Has no real utility, and the name is confusing, will be removed by 7.0.0 -
Uses of PropertyDescriptor in net.sourceforge.pmd.properties.builders
Methods in net.sourceforge.pmd.properties.builders that return PropertyDescriptor Modifier and Type Method Description abstract PropertyDescriptor<E>
PropertyDescriptorBuilder. build()
Deprecated.Builds the descriptor and returns it.PropertyDescriptor<E>
PropertyDescriptorBuilderConversionWrapper. build(Map<PropertyDescriptorField,String> fields)
Deprecated.PropertyDescriptor<E>
PropertyDescriptorExternalBuilder. build(Map<PropertyDescriptorField,String> fields)
Deprecated.Builds a descriptor. -
Uses of PropertyDescriptor in net.sourceforge.pmd.renderers
Fields in net.sourceforge.pmd.renderers declared as PropertyDescriptor Modifier and Type Field Description static PropertyDescriptor<Boolean>
HTMLRenderer. HTML_EXTENSION
-
Uses of PropertyDescriptor in net.sourceforge.pmd.rules
Methods in net.sourceforge.pmd.rules with parameters of type PropertyDescriptor Modifier and Type Method Description void
RuleBuilder. defineProperty(PropertyDescriptor<?> descriptor)
Deprecated.
-