public enum ConstructorRule extends Enum<ConstructorRule> implements IRule<Constructor<?>>
| Enum Constant and Description |
|---|
CONSTRUCTOR_MEMBERSHIP_CHANGED |
CONSTRUCTOR_REMOVED |
CONSTRUCTOR_VISIBILITY_DEGRADED |
INVISIBLE_MEMBER_CONSTRUCTOR_SKIPPED |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
RuleType |
getType() |
static ConstructorRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstructorRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static final ConstructorRule CONSTRUCTOR_REMOVED
public static final ConstructorRule INVISIBLE_MEMBER_CONSTRUCTOR_SKIPPED
public static final ConstructorRule CONSTRUCTOR_MEMBERSHIP_CHANGED
public static final ConstructorRule CONSTRUCTOR_VISIBILITY_DEGRADED
public static ConstructorRule[] values()
for (ConstructorRule c : ConstructorRule.values()) System.out.println(c);
public static ConstructorRule valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
getName in interface IRule<Constructor<?>>public RuleType getType()
getType in interface IRule<Constructor<?>>Copyright © 2022 Unidal Organization. All rights reserved.