Class BaseContextChild

All Implemented Interfaces:
io.github.mmm.code.api.CodeContext, io.github.mmm.code.api.CodeLoader, io.github.mmm.code.api.CodeProvider, io.github.mmm.code.api.CodeWithContext, io.github.mmm.code.api.node.CodeNode, BaseContext, BaseProvider, BaseLoader, AutoCloseable

public class BaseContextChild extends AbstractBaseContext
Implementation of AbstractBaseContext for child context.
Since:
1.0.0
  • Constructor Details

  • Method Details

    • getParent

      public AbstractBaseContext getParent()
      Specified by:
      getParent in interface BaseContext
      Specified by:
      getParent in interface io.github.mmm.code.api.CodeContext
      Specified by:
      getParent in interface io.github.mmm.code.api.node.CodeNode
      Specified by:
      getParent in class AbstractBaseContext
    • getType

      public BaseGenericType getType(Type type, io.github.mmm.code.api.element.CodeElementWithDeclaringType declaringElement)
      Parameters:
      type - the Type to get as CodeGenericType.
      declaringElement - the owning CodeElementWithDeclaringType declaring the Type.
      Returns:
      the existing or otherwise newly created CodeGenericType.
    • getType

      public BaseType getType(io.github.mmm.code.api.CodeName qualifiedName)
    • getType

      public BaseGenericType getType(Class<?> clazz)
      Parameters:
      clazz - the Class to get as CodeGenericType.
      Returns:
      the existing or otherwise newly created CodeGenericType. Typically a CodeType but may also be a array type in case an array was given.