Interface Named

All Known Subinterfaces:
AnnotationElement<O>, AnnotationElementSource, EnumConstant<O>, EnumConstant.ReadBody<O>, EnumConstantSource, EnumConstantSource.Body, Field<O>, FieldSource<O>, JavaAnnotation<O>, JavaAnnotationSource, JavaClass<O>, JavaClassSource, JavaEnum<O>, JavaEnumSource, JavaInterface<O>, JavaInterfaceSource, JavaPackageInfo<O>, JavaPackageInfoSource, JavaRecord<O>, JavaRecordSource, JavaSource<T>, JavaType<T>, Member<O>, MemberSource<O,T>, Method<O,T>, MethodSource<O>, NamedSource<T>, Property<O>, PropertySource<O>, TypeVariable<O>, TypeVariableSource<O>

public interface Named
Represents a named Java element.
Author:
Lincoln Baxter, III
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the simple name of this T instance.
  • Method Details

    • getName

      String getName()
      Get the simple name of this T instance. (E.g: For a Java type, this is be equivalent to calling, Class.getSimpleName(). For a Java method, this would be equivalent to calling Method.getName() ... and so on.