Class RemoteModel.Util
java.lang.Object
dev.getelements.elements.rt.annotation.RemoteModel.Util
- Enclosing class:
RemoteModel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFinds the name of a type annotated withRemoteModel.static Optional<RemoteScope> Gets the definition matching scope and protocol.static StringFinds the name of a type annotated withRemoteModel.static RemoteScopeGets the definition matching scope and protocol.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
findName
Finds the name of a type annotated withRemoteModel. -
getName
Finds the name of a type annotated withRemoteModel. -
findScope
Gets the definition matching scope and protocol.- Parameters:
cls- the typeprotocol- the protocolscope- the scope- Returns:
- the
Optionalwhich matches.
-
getScope
Gets the definition matching scope and protocol.- Parameters:
cls- the typeprotocol- the protocolscope- the scope- Returns:
- the
RemoteScopewhich matches.
-