@Test public void testGetTypeGroup() { assertEquals(PType.BOOL, PPrimitive.BOOL.getType()); assertEquals(PType.BYTE, PPrimitive.BYTE.getType()); assertEquals(PType.I16, PPrimitive.I16.getType()); assertEquals(PType.I32, PPrimitive.I32.getType()); assertEquals(PType.I64, PPrimitive.I64.getType()); assertEquals(PType.DOUBLE, PPrimitive.DOUBLE.getType()); assertEquals(PType.STRING, PPrimitive.STRING.getType()); assertEquals(PType.BINARY, PPrimitive.BINARY.getType()); }
@Nonnull @Override public PType getType() { return type; }
PPrimitive implements PDescriptor { @Nonnull @Override public PType getType() { return type; } }
PPrimitive implements PDescriptor { @Nonnull @Override public PType getType() { return type; } private  PPrimitive(PType type, Object defValue, boolean nativePrimitive); }
PPrimitive implements PDescriptor { @Nonnull @Override public PType getType() { return type; } private  PPrimitive(PType type, Object defValue, boolean nativePrimitive); @Nonnull PPrimitiveProvider provider(); @Override String getProgramName(); @Nonnull @Override String getName(); @Nonnull @Override String getQualifiedName(String programContext); @Override String toString(); @Nonnull @Override PType getType(); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getDefaultValue(); boolean isNativePrimitive(); static PPrimitive findByName(String name); }
PPrimitive implements PDescriptor { @Nonnull @Override public PType getType() { return type; } private  PPrimitive(PType type, Object defValue, boolean nativePrimitive); @Nonnull PPrimitiveProvider provider(); @Override String getProgramName(); @Nonnull @Override String getName(); @Nonnull @Override String getQualifiedName(String programContext); @Override String toString(); @Nonnull @Override PType getType(); @Override boolean equals(Object o); @Override int hashCode(); @Override Object getDefaultValue(); boolean isNativePrimitive(); static PPrimitive findByName(String name); static final PPrimitive VOID; static final PPrimitive BOOL; static final PPrimitive BYTE; static final PPrimitive I16; static final PPrimitive I32; static final PPrimitive I64; static final PPrimitive DOUBLE; static final PPrimitive STRING; static final PPrimitive BINARY; }