Package net.fabricmc.classtweaker.impl
Enum AccessWidenerImpl.MethodAccess
java.lang.Object
java.lang.Enum<AccessWidenerImpl.MethodAccess>
net.fabricmc.classtweaker.impl.AccessWidenerImpl.MethodAccess
- All Implemented Interfaces:
Serializable,Comparable<AccessWidenerImpl.MethodAccess>,java.lang.constant.Constable,AccessWidener.Access,AccessWidenerImpl.MutableAccess
- Enclosing class:
AccessWidenerImpl
@VisibleForTesting
public static enum AccessWidenerImpl.MethodAccess
extends Enum<AccessWidenerImpl.MethodAccess>
implements AccessWidenerImpl.MutableAccess
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface net.fabricmc.classtweaker.impl.AccessWidenerImpl.MutableAccess
DEFAULT -
Method Summary
Modifier and TypeMethodDescriptionintbooleanbooleanbooleanReturns the enum constant of this type with the specified name.static AccessWidenerImpl.MethodAccess[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.fabricmc.classtweaker.api.AccessWidener.Access
isChanged
-
Enum Constant Details
-
DEFAULT
-
ACCESSIBLE
-
EXTENDABLE
-
ACCESSIBLE_EXTENDABLE
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
makeAccessible
- Specified by:
makeAccessiblein interfaceAccessWidenerImpl.MutableAccess
-
makeExtendable
- Specified by:
makeExtendablein interfaceAccessWidenerImpl.MutableAccess
-
makeMutable
- Specified by:
makeMutablein interfaceAccessWidenerImpl.MutableAccess
-
isAccessible
public boolean isAccessible()- Specified by:
isAccessiblein interfaceAccessWidener.Access
-
isExtendable
public boolean isExtendable()- Specified by:
isExtendablein interfaceAccessWidener.Access
-
isMutable
public boolean isMutable()- Specified by:
isMutablein interfaceAccessWidener.Access
-
apply
- Specified by:
applyin interfaceAccessWidener.Access
-