Record Class CodegenScope
java.lang.Object
java.lang.Record
io.helidon.codegen.CodegenScope
- Record Components:
name- name of the scope, use empty string for production scope, seePRODUCTION, use lower case names
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCodegenScope(String name) Creates an instance of aCodegenScoperecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanWhether this is a production scope.name()Returns the value of thenamerecord component.prefix()Type prefix for this scope.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
PRODUCTION
Production scope.
-
-
Constructor Details
-
CodegenScope
-
-
Method Details
-
isProduction
public boolean isProduction()Whether this is a production scope.- Returns:
- if production
-
prefix
Type prefix for this scope.- Returns:
- the scope name with first letter as capital
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
-