- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {BufferedReader b =
InputStream in;new BufferedReader(new InputStreamReader(in))
Reader in;new BufferedReader(in)
File file;new BufferedReader(new FileReader(file))
- Smart code suggestions by Codota
}
protected ClassDescriptor buildInteractionArgumentDescriptor() { XMLDescriptor descriptor = new XMLDescriptor(); descriptor.setJavaClass(InteractionArgument.class); descriptor.setDefaultRootElement("interaction-argument"); XMLDirectMapping argumentNameMapping = new XMLDirectMapping(); argumentNameMapping.setAttributeName("argumentName"); argumentNameMapping.setGetMethodName("getArgumentName"); argumentNameMapping.setSetMethodName("setArgumentName"); argumentNameMapping.setXPath("@name"); descriptor.addMapping(argumentNameMapping); XMLDirectMapping keyMapping = new XMLDirectMapping(); keyMapping.setAttributeName("key"); keyMapping.setGetMethodName("getKey"); keyMapping.setSetMethodName("setKey"); keyMapping.setXPath("@argument-name"); descriptor.addMapping(keyMapping); XMLDirectMapping valueMapping = new XMLDirectMapping(); valueMapping.setAttributeName("value"); valueMapping.setGetMethodName("getValue"); valueMapping.setSetMethodName("setValue"); valueMapping.setField(buildTypedField(getPrimaryNamespaceXPath() + "argument-value/text()")); descriptor.addMapping(valueMapping); return descriptor; }
protected ClassDescriptor buildInteractionArgumentDescriptor() { XMLDescriptor descriptor = new XMLDescriptor(); descriptor.setJavaClass(InteractionArgument.class); descriptor.setDefaultRootElement("interaction-argument"); XMLDirectMapping argumentNameMapping = new XMLDirectMapping(); argumentNameMapping.setAttributeName("argumentName"); argumentNameMapping.setGetMethodName("getArgumentName"); argumentNameMapping.setSetMethodName("setArgumentName"); argumentNameMapping.setXPath("@name"); descriptor.addMapping(argumentNameMapping); XMLDirectMapping keyMapping = new XMLDirectMapping(); keyMapping.setAttributeName("key"); keyMapping.setGetMethodName("getKey"); keyMapping.setSetMethodName("setKey"); keyMapping.setXPath("@argument-name"); descriptor.addMapping(keyMapping); XMLDirectMapping valueMapping = new XMLDirectMapping(); valueMapping.setAttributeName("value"); valueMapping.setGetMethodName("getValue"); valueMapping.setSetMethodName("setValue"); valueMapping.setField(buildTypedField(getPrimaryNamespaceXPath() + "argument-value/text()")); descriptor.addMapping(valueMapping); return descriptor; }
protected ClassDescriptor buildInteractionArgumentDescriptor() { XMLDescriptor descriptor = new XMLDescriptor(); descriptor.setJavaClass(InteractionArgument.class); descriptor.setDefaultRootElement("interaction-argument"); XMLDirectMapping argumentNameMapping = new XMLDirectMapping(); argumentNameMapping.setAttributeName("argumentName"); argumentNameMapping.setGetMethodName("getArgumentName"); argumentNameMapping.setSetMethodName("setArgumentName"); argumentNameMapping.setXPath("@name"); descriptor.addMapping(argumentNameMapping); XMLDirectMapping keyMapping = new XMLDirectMapping(); keyMapping.setAttributeName("key"); keyMapping.setGetMethodName("getKey"); keyMapping.setSetMethodName("setKey"); keyMapping.setXPath("@argument-name"); descriptor.addMapping(keyMapping); XMLDirectMapping valueMapping = new XMLDirectMapping(); valueMapping.setAttributeName("value"); valueMapping.setGetMethodName("getValue"); valueMapping.setSetMethodName("setValue"); valueMapping.setField(buildTypedField(getPrimaryNamespaceXPath() + "argument-value/text()")); descriptor.addMapping(valueMapping); return descriptor; }