Sha256: 384b63577398fb8c9ec21add141d47d8594095f625c40fcac0b02a1b868b9c74

Contents?: true

Size: 422 Bytes

Versions: 12

Compression:

Stored size: 422 Bytes

Contents

package org.cx4a.rsense.typing.annotation;

public class TypePragma implements TypeExpression {
    private Type type;

    public TypePragma(Type type) {
        this.type = type;
    }

    public Type getType() {
        return type;
    }

    @Override
    public String toString() {
        switch (type) {
        case NOBODY_PRAGMA:
            return "!nobody";
        }
        return "unknown-pragma";
    }
}

Version data entries

12 entries across 12 versions & 1 rubygems

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