Module java.base
Package java.lang.reflect

# Class Executable

≠
public abstract sealed class Executable
extends java.lang.reflect.AccessibleObject
implements java.lang.reflect.GenericDeclaration, java.lang.reflect.Member
permits java.lang.reflect.Constructor<T>, java.lang.reflect.Method

## Methods

- ≠
  public java.util.Set<java.lang.reflect.AccessFlag> accessFlags()
  Comparing jdk-master and valhalla-csr-open

  ### accessFlags

  public Set<AccessFlag> accessFlags()
  Returns an unmodifiable set of the access flags for the executable represented by this object, possibly empty. The `AccessFlags` may depend on the class file format version of the class.
  Specified by:
    `accessFlags` in interface `Member`
  Returns:
    an unmodifiable set of the access flags for the executable represented by this object, possibly empty
  See Java Virtual Machine Specification:
    4.6 Methods
  Since:
    20
  See Also:
    - `getModifiers()`
- =
  public java.lang.reflect.AnnotatedType[] getAnnotatedExceptionTypes()
- =
  public java.lang.reflect.AnnotatedType[] getAnnotatedParameterTypes()
- =
  public java.lang.reflect.AnnotatedType getAnnotatedReceiverType()
- =
  public abstract java.lang.reflect.AnnotatedType getAnnotatedReturnType()
- =
  public <T> T getAnnotation(java.lang.Class<T> arg0)
- =
  public <T> T[] getAnnotationsByType(java.lang.Class<T> arg0)
- =
  public java.lang.annotation.Annotation[] getDeclaredAnnotations()
- =
  public abstract java.lang.Class<?> getDeclaringClass()
- =
  public abstract java.lang.Class<?>[] getExceptionTypes()
- =
  public java.lang.reflect.Type[] getGenericExceptionTypes()
- =
  public java.lang.reflect.Type[] getGenericParameterTypes()
- =
  public abstract int getModifiers()
- =
  public abstract java.lang.String getName()
- =
  public abstract java.lang.annotation.Annotation[][] getParameterAnnotations()
- =
  public abstract int getParameterCount()
- =
  public abstract java.lang.Class<?>[] getParameterTypes()
- =
  public java.lang.reflect.Parameter[] getParameters()
- =
  public abstract java.lang.reflect.TypeVariable<?>[] getTypeParameters()
- =
  public boolean isSynthetic()
- =
  public boolean isVarArgs()
- =
  public abstract java.lang.String toGenericString()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
accessFlags() |  |  |  |  |  |  | 2 |  |  | 2
Total |  |  |  |  |  |  | 2 |  |  | 2