Skip to main content

Module attribute

Module attribute 

Source
Expand description

Attribute types for class files.

https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7

Re-exports§

pub use method::CodeAttribute;
pub use method::ExceptionTableEntry;
pub use method::MethodAttribute;
pub use method::MethodParameterEntry;
pub use method::ParameterAnnotations;

Modules§

method

Structs§

Annotation
A runtime annotation on a class, field, method, or record component.
BootstrapMethodEntry
ElementValuePair
A name-value pair in an annotation.
InnerClassEntry
LocalVarEntry
An entry in the local variable table for type annotations.
TypeAnnotation
A type annotation with its target and path information.
TypePath
A path to a specific nested type within a compound type.
TypePathEntry
A single step in a type path.

Enums§

AttributeKind
Discriminant for attribute types defined in the JVM specification.
ClassAttribute
ElementKind
Tag identifying the type of an element value in an annotation.
ElementValue
The value of an element in an annotation.
FieldAttribute
SharedAttribute
Attribute payloads that can appear at multiple locations (class, field, method, record).
TargetInfo
Target information for a type annotation, identifying where the type is used.