struct Noir::TreeSitterJavaRouteExtractor::ControllerInterfaceImplementation

Defined in:

miniparsers/java_route_extractor_ts.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(class_name : String, interface_names : Array(String), paths : Array(String), verbs : Array(String), params : Array(Param), line : Int32, annotated_method_names : Set(String) = Set(String).new) #

[View source]

Instance Method Detail

def annotated_method_names : Set(String) #

Method names on the concrete controller that already carry a direct Spring mapping annotation (@GetMapping / @RequestMapping / meta-mapping, …). Interface-derived routes for these names must be skipped: Spring's merged-annotation lookup stops at the concrete override once it supplies its own mapping.


[View source]
def class_name : String #

[View source]
def interface_names : Array(String) #

[View source]
def line : Int32 #

[View source]
def params : Array(Param) #

[View source]
def paths : Array(String) #

[View source]
def verbs : Array(String) #

[View source]