Package oracle.dbtools.plugin.api.types
Class TypeDependencies<T>
- java.lang.Object
-
- oracle.dbtools.plugin.api.types.TypeDependencies<T>
-
- Type Parameters:
T- The type
- All Implemented Interfaces:
java.lang.Iterable<TypeDependency>
public class TypeDependencies<T> extends java.lang.Object implements java.lang.Iterable<TypeDependency>
Captures the dependencies of aClass- Since:
- 19.3.0
- Author:
- cdivilly
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()booleanisConcrete()Determines if the type can be instantiated.booleanisInstantiable()Determines if the type can be instantiated.java.util.Iterator<TypeDependency>iterator()intsize()The number ofTypeDependencyinstancesjava.lang.StringtoString()java.lang.Class<T>type()The type
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
isConcrete
public boolean isConcrete()
Determines if the type can be instantiated.- Returns:
- true if the type can be instantiated
-
isInstantiable
public boolean isInstantiable()
Determines if the type can be instantiated.- Returns:
- true if the type can be instantiated
-
iterator
public java.util.Iterator<TypeDependency> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<T>
-
size
public int size()
The number ofTypeDependencyinstances- Returns:
- integer indicating number of
TypeDependencyinstances
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
type
public java.lang.Class<T> type()
The type- Returns:
Classinstance
-
-