Sha256: 13fe988ff4022b6b684a89a4aad61b445948d492b6dcf43f7ef744696e9f8b2a

Contents?: true

Size: 429 Bytes

Versions: 12

Compression:

Stored size: 429 Bytes

Contents

package org.cx4a.rsense.typing.annotation;

public class TypeOptional implements TypeExpression {
    private TypeExpression expr;

    public TypeOptional(TypeExpression expr) {
        this.expr = expr;
    }

    public TypeExpression getExpression() {
        return expr;
    }

    public Type getType() {
        return Type.OPTIONAL;
    }

    @Override
    public String toString() {
        return "?" + expr;
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
rsense-core-0.6.6 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.6.5 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.6.4 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.6.2 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.6.1 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.6.0 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.9 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.8 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.6 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.2 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.1 src/org/cx4a/rsense/typing/annotation/TypeOptional.java
rsense-core-0.5.0 src/org/cx4a/rsense/typing/annotation/TypeOptional.java