Interface TypeDescriptor

All Superinterfaces:
ByteCodeDescriptor, com.buschmais.xo.api.CompositeObject, com.buschmais.jqassistant.core.store.api.model.Descriptor, com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor, JavaByteCodeDescriptor, JavaDescriptor, com.buschmais.jqassistant.plugin.common.api.model.NamedDescriptor, PackageMemberDescriptor
All Known Subinterfaces:
AnnotationTypeDescriptor, ClassFileDescriptor, ClassTypeDescriptor, EnumTypeDescriptor, InterfaceTypeDescriptor, RecordTypeDescriptor

@Label(value="Type", usingIndexedPropertyOf=com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor.class) public interface TypeDescriptor extends JavaByteCodeDescriptor, PackageMemberDescriptor
Describes a Java type.
  • Method Details

    • requireTypeParameter

      @Cypher("MATCH (type:Type) WHERE id(type)=$this MERGE (type)-[:REQUIRES_TYPE_PARAMETER]->(variable:Java:ByteCode:Bound:TypeVariable{name:$name}) RETURN variable") TypeVariableDescriptor requireTypeParameter(String name)
      Resolve a required TypeVariableDescriptor by name.
      Parameters:
      name - The name.
      Returns:
      The resolved TypeVariableDescriptor.
    • getDeclaredMethods

      List<MethodDescriptor> getDeclaredMethods()
      Return the declared methods.
      Returns:
      The declared methods.
    • getDeclaredFields

      List<FieldDescriptor> getDeclaredFields()
      Return the declared fields.
      Returns:
      The declared fields.
    • getDeclaredMembers

      List<MemberDescriptor> getDeclaredMembers()
      Return the declared members, i.e. fields and methods.
      Returns:
      The declared members.
    • getDeclaredInnerClasses

      Set<TypeDescriptor> getDeclaredInnerClasses()
      Return the declared inner classes.
      Returns:
      The declared inner classes.
    • getDependencies

      List<TypeDependsOnDescriptor> getDependencies()
    • getDependents

      List<TypeDependsOnDescriptor> getDependents()