code: public ASTMethod getMethod(Method method) {
  
          ImmutableList<ASTParameter> astParameters = getParameters(method);
          ASTAccessModifier modifier = ASTAccessModifier.getModifier(method.getModifiers());
          ImmutableSet<ASTType> throwsTypes = getTypes(method.getExceptionTypes());
  
          return new ASTClassMethod(method, getType(method.getReturnType(), method.getGenericReturnType()), astParameters, modifier, getAnnotations(method), throwsTypes);
      }
docs: Builds an AST Method fromm the given input method.
  
  @param method
  @return AST Method