java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.java.TypeRef
All Implemented Interfaces:
Supplier<NdType>

public final class TypeRef extends Object implements Supplier<NdType>
Holds a reference to an NdType that can be retained while releasing and reacquiring a read lock.
  • Method Details

    • getFieldDescriptor

      public char[] getFieldDescriptor()
    • getFileName

      public char[] getFileName()
    • create

      public static TypeRef create(NdType type)
      Creates a DatabaseRef to the given NdType.
    • create

      public static TypeRef create(Nd nd, char[] resourcePath, char[] fieldDescriptor)
      Creates a DatabaseRef to the NdType with the given resource path and field descriptor.
    • lock

      public IReader lock()
    • get

      public NdType get()
      Specified by:
      get in interface Supplier<NdType>