use of php.runtime.annotation.Reflection.Signature in project jphp by jphp-compiler.
the class WrapTextView method __construct.
@Signature
public void __construct(WrapActivity activity) {
__wrappedObject = new TextView(activity);
__wrappedObject.setId(idCounter.getAndIncrement());
}
use of php.runtime.annotation.Reflection.Signature in project jphp by jphp-compiler.
the class PZipFile method getEntryContent.
@Signature
public byte[] getEntryContent(String name) throws IOException {
ZipEntry entry = getWrappedObject().getEntry(name);
if (entry == null) {
return null;
}
InputStream stream = getWrappedObject().getInputStream(entry);
return readFully(stream, -1, true);
}
use of php.runtime.annotation.Reflection.Signature in project jphp by jphp-compiler.
the class PZipFile method getEntryNames.
@Signature
public List<String> getEntryNames() {
List<String> result = new ArrayList<>();
for (Enumeration entries = getWrappedObject().entries(); entries.hasMoreElements(); ) {
// Get the entry name
String zipEntryName = ((ZipEntry) entries.nextElement()).getName();
result.add(zipEntryName);
}
return result;
}
use of php.runtime.annotation.Reflection.Signature in project jphp by jphp-compiler.
the class WrapButton method __construct.
@Signature
public void __construct(WrapActivity activity) {
__wrappedObject = new Button(activity);
__wrappedObject.setId(idCounter.getAndIncrement());
}
use of php.runtime.annotation.Reflection.Signature in project jphp by jphp-compiler.
the class WrapEditText method __construct.
@Signature
public void __construct(WrapActivity activity) {
__wrappedObject = new EditText(activity);
__wrappedObject.setId(idCounter.getAndIncrement());
}
Aggregations