Class Method


  • public class Method
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Method​(java.lang.CharSequence name, MethodType methodType, javax.lang.model.type.TypeMirror inputType, javax.lang.model.type.TypeMirror outputType)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Method fromExecutableElement​(dev.restate.sdk.common.ComponentType componentType, javax.lang.model.element.ExecutableElement element, javax.annotation.processing.Messager messager, javax.lang.model.util.Elements elements, javax.lang.model.util.Types types)  
      javax.lang.model.type.TypeMirror getInputType()  
      MethodType getMethodType()  
      java.lang.CharSequence getName()  
      javax.lang.model.type.TypeMirror getOutputType()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Method

        public Method​(java.lang.CharSequence name,
                      MethodType methodType,
                      @Nullable
                      javax.lang.model.type.TypeMirror inputType,
                      @Nullable
                      javax.lang.model.type.TypeMirror outputType)
    • Method Detail

      • getName

        public java.lang.CharSequence getName()
      • getMethodType

        public MethodType getMethodType()
      • getInputType

        @Nullable
        public javax.lang.model.type.TypeMirror getInputType()
      • getOutputType

        @Nullable
        public javax.lang.model.type.TypeMirror getOutputType()
      • fromExecutableElement

        public static Method fromExecutableElement​(dev.restate.sdk.common.ComponentType componentType,
                                                   javax.lang.model.element.ExecutableElement element,
                                                   javax.annotation.processing.Messager messager,
                                                   javax.lang.model.util.Elements elements,
                                                   javax.lang.model.util.Types types)