Uses of Enum Class
io.smallrye.classfile.extras.reflect.AccessFlag
Packages that use AccessFlag
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file attributes for the io.smallrye.classfile library.-
Uses of AccessFlag in io.smallrye.classfile
Methods in io.smallrye.classfile that return types with arguments of type AccessFlagModifier and TypeMethodDescriptionAccessFlags.flags()Returns the access flags, as a set of flag enums.Methods in io.smallrye.classfile with parameters of type AccessFlagModifier and TypeMethodDescriptionbooleanAccessFlags.has(AccessFlag flag) Returns whether the specified flag is set.default ClassBuilderClassBuilder.withFlags(AccessFlag... flags) Sets the access flags of this class.default FieldBuilderFieldBuilder.withFlags(AccessFlag... flags) Sets the field access flags.default MethodBuilderMethodBuilder.withFlags(AccessFlag... flags) Sets the method access flags. -
Uses of AccessFlag in io.smallrye.classfile.attribute
Methods in io.smallrye.classfile.attribute that return types with arguments of type AccessFlagModifier and TypeMethodDescriptiondefault Set<AccessFlag> ModuleExportInfo.exportsFlags()Returns the flags associated with this export declaration, as a set of flag enums.default Set<AccessFlag> InnerClassInfo.flags()Returns a set of flag enums denoting access permissions and properties of the nested class.default Set<AccessFlag> MethodParameterInfo.flags()Returns the access flags, as a set of flag enums.default Set<AccessFlag> ModuleAttribute.moduleFlags()Returns the module flags of the module, as a set of enum constants.default Set<AccessFlag> ModuleOpenInfo.opensFlags()Returns the flags associated with this open declaration, as a set of flag enums.default Set<AccessFlag> ModuleRequireInfo.requiresFlags()Returns the flags associated with this require declaration, as a set of flag enums.Methods in io.smallrye.classfile.attribute with parameters of type AccessFlagModifier and TypeMethodDescriptiondefault booleanInnerClassInfo.has(AccessFlag flag) Returns whether a specific access flag is set.default booleanMethodParameterInfo.has(AccessFlag flag) Returns whether the method parameter has a specific flag set.default booleanModuleAttribute.has(AccessFlag flag) Tests presence of module flag.default booleanModuleExportInfo.has(AccessFlag flag) Returns whether the export declaration has the specified access flag set.default booleanModuleOpenInfo.has(AccessFlag flag) Returns whether the open declaration has the specified access flag set.default booleanModuleRequireInfo.has(AccessFlag flag) Returns whether the specific access flag is set.ModuleAttribute.ModuleAttributeBuilder.moduleFlags(AccessFlag... moduleFlags) Sets the module flags.static InnerClassInfoInnerClassInfo.of(ClassDesc innerClass, Optional<ClassDesc> outerClass, Optional<String> innerName, AccessFlag... flags) Returns a nested class description.static MethodParameterInfoMethodParameterInfo.of(Optional<String> name, AccessFlag... flags) Returns a method parameter description.Method parameters in io.smallrye.classfile.attribute with type arguments of type AccessFlagModifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.exports(PackageDesc pkge, Collection<AccessFlag> exportsFlags, ModuleDesc... exportsToModules) Adds an exported package.static ModuleExportInfoModuleExportInfo.of(PackageEntry exports, Collection<AccessFlag> exportFlags, ModuleEntry... exportsTo) Returns a module export description.static ModuleExportInfoModuleExportInfo.of(PackageEntry exports, Collection<AccessFlag> exportFlags, List<ModuleEntry> exportsTo) Returns a module export description.static ModuleExportInfoModuleExportInfo.of(PackageDesc exports, Collection<AccessFlag> exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfoModuleExportInfo.of(PackageDesc exports, Collection<AccessFlag> exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleOpenInfoModuleOpenInfo.of(PackageEntry opens, Collection<AccessFlag> opensFlags, ModuleEntry... opensTo) Returns a module open description.static ModuleOpenInfoModuleOpenInfo.of(PackageEntry opens, Collection<AccessFlag> opensFlags, List<ModuleEntry> opensTo) Returns a module open description.static ModuleOpenInfoModuleOpenInfo.of(PackageDesc opens, Collection<AccessFlag> opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfoModuleOpenInfo.of(PackageDesc opens, Collection<AccessFlag> opensFlags, List<ModuleDesc> opensTo) Returns a module open description.static ModuleRequireInfoModuleRequireInfo.of(ModuleEntry requires, Collection<AccessFlag> requiresFlags, Utf8Entry requiresVersion) Returns a module requirement description.static ModuleRequireInfoModuleRequireInfo.of(ModuleDesc requires, Collection<AccessFlag> requiresFlags, String requiresVersion) Returns a module requirement description.ModuleAttribute.ModuleAttributeBuilder.opens(PackageDesc pkge, Collection<AccessFlag> opensFlags, ModuleDesc... opensToModules) Opens a package.ModuleAttribute.ModuleAttributeBuilder.requires(ModuleDesc module, Collection<AccessFlag> requiresFlags, String version) Adds a module requirement. -
Uses of AccessFlag in io.smallrye.classfile.extras.reflect
Methods in io.smallrye.classfile.extras.reflect that return AccessFlagModifier and TypeMethodDescriptionstatic AccessFlagReturns the enum constant of this class with the specified name.static AccessFlag[]AccessFlag.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.smallrye.classfile.extras.reflect that return types with arguments of type AccessFlagModifier and TypeMethodDescriptionAccessFlag.Location.flags()Returns the set of access flags defined for this location in the current class file format version.AccessFlag.Location.flags(ClassFileFormatVersion cffv) Returns the set of access flags defined for this location in the given class file format version.static Set<AccessFlag> AccessFlag.maskToAccessFlags(int mask, AccessFlag.Location location) Returns an unmodifiable set of access flags for the given mask value appropriate for the location in the current class file format version.static Set<AccessFlag> AccessFlag.maskToAccessFlags(int mask, AccessFlag.Location location, ClassFileFormatVersion cffv) Returns an unmodifiable set of access flags for the given mask value appropriate for the location in the given class file format version.