4243444546474849505152
if ( line.startsWith( KEYWORD ) ) { line = line.substring( KEYWORD.length() ).trim(); if ( line.endsWith( ";" ) ) { line = line.substring( 0, line.length() - 1 ); } imports.addImport( new Import( line ) ); } } } return imports;
7576777879808182838485
final HasImports model = new HasImports() { private Imports imports = new Imports(); { imports.addImport( new Import( "java.lang.String" ) ); } @Override public Imports getImports() { return imports;
112113114115116117118119120121122
final HasImports model = new HasImports() { private Imports imports = new Imports(); { imports.addImport( new Import( "java.lang.String" ) ); imports.addImport( new Import( "java.lang.Double" ) ); } @Override public Imports getImports() {
113114115116117118119120121122123
private Imports imports = new Imports(); { imports.addImport( new Import( "java.lang.String" ) ); imports.addImport( new Import( "java.lang.Double" ) ); } @Override public Imports getImports() { return imports;