@Test public void testGetPackageName() { assertThat(PPrimitive.BOOL.getProgramName(), nullValue()); assertThat(PPrimitive.BYTE.getProgramName(), nullValue()); assertThat(PPrimitive.I16.getProgramName(), nullValue()); assertThat(PPrimitive.I32.getProgramName(), nullValue()); assertThat(PPrimitive.I64.getProgramName(), nullValue()); assertThat(PPrimitive.DOUBLE.getProgramName(), nullValue()); assertThat(PPrimitive.STRING.getProgramName(), nullValue()); assertThat(PPrimitive.BINARY.getProgramName(), nullValue()); }
@Override public String getProgramName() { return null; }
PPrimitive implements PDescriptor { @Override public String getProgramName() { return null; } }
PPrimitive implements PDescriptor { @Override public String getProgramName() { return null; } private  PPrimitive(PType type, Object defValue, boolean nativePrimitive); }
PPrimitive implements PDescriptor { @Override public String getProgramName() { return null; } 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 { @Override public String getProgramName() { return null; } 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; }