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
@Label(value="Type", usingIndexedPropertyOf=com.buschmais.jqassistant.core.store.api.model.FullQualifiedNameDescriptor.class) public interface TypeDescriptor extends JavaByteCodeDescriptor, PackageMemberDescriptorDescribes a Java type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<FieldDescriptor>getDeclaredFields()Return the declared fields.java.util.Set<TypeDescriptor>getDeclaredInnerClasses()Return the declared inner classes.java.util.List<MemberDescriptor>getDeclaredMembers()Return the declared members, i.e. fields and methods.java.util.List<MethodDescriptor>getDeclaredMethods()Return the declared methods.java.util.List<TypeDependsOnDescriptor>getDependencies()java.util.List<TypeDependsOnDescriptor>getDependents()TypeVariableDescriptorrequireTypeParameter(java.lang.String name)Resolve a requiredTypeVariableDescriptorby name.
-
-
-
Method Detail
-
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(java.lang.String name)Resolve a requiredTypeVariableDescriptorby name.- Parameters:
name- The name.- Returns:
- The resolved
TypeVariableDescriptor.
-
getDeclaredMethods
java.util.List<MethodDescriptor> getDeclaredMethods()
Return the declared methods.- Returns:
- The declared methods.
-
getDeclaredFields
java.util.List<FieldDescriptor> getDeclaredFields()
Return the declared fields.- Returns:
- The declared fields.
-
getDeclaredMembers
java.util.List<MemberDescriptor> getDeclaredMembers()
Return the declared members, i.e. fields and methods.- Returns:
- The declared members.
-
getDeclaredInnerClasses
java.util.Set<TypeDescriptor> getDeclaredInnerClasses()
Return the declared inner classes.- Returns:
- The declared inner classes.
-
getDependencies
java.util.List<TypeDependsOnDescriptor> getDependencies()
-
getDependents
java.util.List<TypeDependsOnDescriptor> getDependents()
-
-