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 String
Finds the name of a type annotated withRemoteModel
.static RemoteScope
Gets 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
Optional
which matches.
-
getScope
Gets the definition matching scope and protocol.- Parameters:
cls
- the typeprotocol
- the protocolscope
- the scope- Returns:
- the
RemoteScope
which matches.
-