Package com.tngtech.archunit.core.domain
Enum Class JavaModifier
- All Implemented Interfaces:
Serializable,Comparable<JavaModifier>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<JavaModifier>getModifiersForClass(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings.static Set<JavaModifier>getModifiersForField(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings.static Set<JavaModifier>getModifiersForMethod(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings.static JavaModifierReturns the enum constant of this class with the specified name.static JavaModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
-
PROTECTED
-
PRIVATE
-
STATIC
-
FINAL
-
VOLATILE
-
TRANSIENT
-
ENUM
-
ABSTRACT
-
SYNCHRONIZED
-
NATIVE
-
BRIDGE
-
SYNTHETIC
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getModifiersForClass
@Deprecated @PublicAPI(usage=ACCESS) public static Set<JavaModifier> getModifiersForClass(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement. -
getModifiersForField
@Deprecated @PublicAPI(usage=ACCESS) public static Set<JavaModifier> getModifiersForField(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement. -
getModifiersForMethod
@Deprecated @PublicAPI(usage=ACCESS) public static Set<JavaModifier> getModifiersForMethod(int asmAccess) Deprecated.This seems like an unnecessary API for users of ArchUnit, but limits us to do internal refactorings. If you think you need this API, please reach out to us on GitHub by creating an issue at https://github.com/TNG/ArchUnit/issues. Otherwise, at some point in the future we will remove this API without any replacement.
-