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 Summary
Modifier and TypeMethodDescriptionReturn the declared fields.Return the declared inner classes.Return the declared members, i.e. fields and methods.Return the declared methods.requireTypeParameter(String name) Resolve a requiredTypeVariableDescriptorby name.Methods inherited from interface com.buschmais.xo.api.CompositeObject
as, getDelegate, getIdMethods inherited from interface com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor
getFullQualifiedName, setFullQualifiedNameMethods inherited from interface com.buschmais.jqassistant.plugin.common.api.model.NamedDescriptor
getName, setName
-
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 requiredTypeVariableDescriptorby 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()
-