Interface NullEntry
- All Superinterfaces:
DescribableEntry
- All Known Implementing Classes:
BasicNullEntry
Metadata model for a null constant.
- Author:
- Matt Coley
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdefault booleanisAssignableFrom(DescribableEntry other) Check if another entry is assignable to the type represented by this entry.default ArrayEntrytoArrayEntry(int dimensions) Create an array entry with this entry as the element type.
-
Field Details
-
INSTANCE
-
-
Method Details
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribableEntry- Returns:
- Type descriptor of this entry.
-
toArrayEntry
Description copied from interface:DescribableEntryCreate an array entry with this entry as the element type.- Specified by:
toArrayEntryin interfaceDescribableEntry- Parameters:
dimensions- Number of dimensions to represent.- Returns:
- Array of the current entry as the element type, with the given number of dimentions.
-
isAssignableFrom
Description copied from interface:DescribableEntryCheck if another entry is assignable to the type represented by this entry.- Specified by:
isAssignableFromin interfaceDescribableEntry- Parameters:
other- Some other entry.- Returns:
truewhen the other entry is assignable to the type represented by this entry.
-