Interface SimpleTypePartsReader.ModelElementCreator<T extends ModelElement>

  • Enclosing class:
    SimpleTypePartsReader<E extends ModelElement,​P extends java.lang.annotation.Annotation,​C extends java.lang.annotation.Annotation>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface SimpleTypePartsReader.ModelElementCreator<T extends ModelElement>
    Creates a new ModelElement under the given parent element with the given name and getter method.
    • Method Detail

      • create

        T create​(ModelElement parentElement,
                 java.lang.String name,
                 java.lang.reflect.Method getterMethod)
        Creates a new ModelElement under the given parent element with the given name and getter method.