buggy_function stringlengths 1 391k | fixed_function stringlengths 0 392k |
|---|---|
private JPanel createHTTPSamplerPanel() {
DefaultComboBoxModel m = new DefaultComboBoxModel();
for (String s : HTTPSamplerFactory.getImplementations()){
m.addElement(s);
}
m.addElement(USE_DEFAULT_HTTP_IMPL);
samplerTypeName = new JComboBox(m);
samplerType... | private JPanel createHTTPSamplerPanel() {
DefaultComboBoxModel m = new DefaultComboBoxModel();
for (String s : HTTPSamplerFactory.getImplementations()){
m.addElement(s);
}
m.addElement(USE_DEFAULT_HTTP_IMPL);
samplerTypeName = new JComboBox(m);
samplerType... |
protected boolean handleAsExtension(Packet packet) {
final Iterator i = packet.getExtensions();
for (; i.hasNext();) {
final Object extension = i.next();
if (extension instanceof XHTMLExtension) {
final XHTMLExtension xhtmlExtension = (XHTMLExtension) extension;
deliverEvent(new MessageEvent((Message... | protected boolean handleAsExtension(Packet packet) {
final Iterator i = packet.getExtensions().iterator();
for (; i.hasNext();) {
final Object extension = i.next();
if (extension instanceof XHTMLExtension) {
final XHTMLExtension xhtmlExtension = (XHTMLExtension) extension;
deliverEvent(new MessageEve... |
public int /*long*/ method3 (int /*long*/[] args) {return callJava ((int)/*64*/args[0], args[1], args[2]);}
};
}
void disposeCOMInterfaces () {
if (supports != null) {
supports.dispose ();
supports = null;
}
if (external != null) {
external.dispose ();
external = null;
}
}
int /*long*/ getAddress (... | public int /*long*/ method3 (int /*long*/[] args) {return callJava ((int)/*64*/args[0], args[1], args[2]);}
};
}
void disposeCOMInterfaces () {
if (supports != null) {
supports.dispose ();
supports = null;
}
if (external != null) {
external.dispose ();
external = null;
}
}
int /*long*/ getAddress (... |
public void connect(ID connectID, IConnectContext connectContext) throws ContainerConnectException {
if (connection != null)
throw new ContainerConnectException(Messages.IRCRootContainer_Exception_Already_Connected);
if (connectID == null)
throw new ContainerConnectException(Messages.IRCRootContainer_Excepti... | public void connect(ID connectID, IConnectContext connectContext) throws ContainerConnectException {
if (connection != null)
throw new ContainerConnectException(Messages.IRCRootContainer_Exception_Already_Connected);
if (connectID == null)
throw new ContainerConnectException(Messages.IRCRootContainer_Excepti... |
public void widgetDisposed(DisposeEvent e) {
shells.remove(id);
}
});
shells.put(id, showImageShell);
}
showImageShell.initialize(Messages.bind(Messages.EclipseCollabSharedObject_SCREEN_CAPTURE_FROM, fromUser), imageWrapper);
showImageShell.open();
}
});
}
| public void widgetDisposed(DisposeEvent e) {
shells.remove(id);
}
});
shells.put(id, showImageShell);
}
showImageShell.initialize(NLS.bind(Messages.EclipseCollabSharedObject_SCREEN_CAPTURE_FROM, fromUser), imageWrapper);
showImageShell.open();
}
});
}
|
protected void onComponentTag(final ComponentTag tag)
{
// Get tag attributes
final ValueMap attributes = tag.getAttributes();
// Default handling for component tag
super.onComponentTag(tag);
try
{
String value = getValue();
if(value != null && "".equals(value))
{
tag.put("value", value);
... | protected void onComponentTag(final ComponentTag tag)
{
// Get tag attributes
final ValueMap attributes = tag.getAttributes();
// Default handling for component tag
super.onComponentTag(tag);
try
{
String value = getValue();
if(value != null && !"".equals(value))
{
tag.put("value", value);
... |
public String toString() {
return String.valueOf(null);
}
| public String toString() {
return "null";
}
|
public final void inputChanged()
{
if (isVisibleInHierarchy() && isEnabled())
{
// Get input as String array
final String[] input = getInputAsArray();
// If there is any input
if (input != null && input.length > 0 && input[0] != null)
{
// join the values together with ";", for example, "id1;i... | public final void inputChanged()
{
if (isVisibleInHierarchy() && isEnabledInHierarchy())
{
// Get input as String array
final String[] input = getInputAsArray();
// If there is any input
if (input != null && input.length > 0 && input[0] != null)
{
// join the values together with ";", for exam... |
public TextLayout (Device device) {
if (device == null) device = Device.getDevice();
if (device == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
this.device = device;
int[] buffer = new int[1];
OS.ATSUCreateTextLayout(buffer);
if (buffer[0] == 0) SWT.error(SWT.ERROR_NO_HANDLES);
layout = buffer[0];
setLayoutContro... | public TextLayout (Device device) {
if (device == null) device = Device.getDevice();
if (device == null) SWT.error(SWT.ERROR_NULL_ARGUMENT);
this.device = device;
int[] buffer = new int[1];
OS.ATSUCreateTextLayout(buffer);
if (buffer[0] == 0) SWT.error(SWT.ERROR_NO_HANDLES);
layout = buffer[0];
setLayoutContro... |
private void storeField(int field, Object val, FieldManager fm) {
FieldMetaData fmd = _meta.getField(field);
if (fmd == null)
throw new UserException(_loc.get("no-field-index",
String.valueOf(field), _meta.getDescribedType())).
setFailedObject(getManagedIn... | private void storeField(int field, Object val, FieldManager fm) {
FieldMetaData fmd = _meta.getField(field);
if (fmd == null)
throw new UserException(_loc.get("no-field-index",
String.valueOf(field), _meta.getDescribedType())).
setFailedObject(getManagedIn... |
public WebClientInfo getClientInfo()
{
if (clientInfo == null)
{
RequestCycle requestCycle = RequestCycle.get();
if (getApplication().getRequestCycleSettings().getGatherExtendedBrowserInfo())
{
if (getMetaData(BROWSER_WAS_POLLED_KEY) == null)
{
// we haven't done the redirect yet; record th... | public WebClientInfo getClientInfo()
{
if (clientInfo == null)
{
RequestCycle requestCycle = RequestCycle.get();
if (getApplication().getRequestCycleSettings().getGatherExtendedBrowserInfo())
{
if (getMetaData(BROWSER_WAS_POLLED_KEY) == null)
{
// we haven't done the redirect yet; record th... |
protected UrlRenderer newUrlRenderer()
{
// All URLs will be rendered relative to current request (can be overridden afterwards)
return new UrlRenderer(getRequest().getClientUrl());
}
| protected UrlRenderer newUrlRenderer()
{
// All URLs will be rendered relative to current request (can be overridden afterwards)
return new UrlRenderer(getRequest().getClientUrl(), getRequest().getPrefixToContextPath());
}
|
public Class<?> getMetaModel(Class<?> entity, boolean load) {
if (_metamodel.containsKey(entity))
return _metamodel.get(entity);
String m2 = _factory.getMetaModelClassName(entity.getName());
try {
ClassLoader loader = AccessController.doPrivileged(J2DoPrivHelper.getCl... | public Class<?> getMetaModel(Class<?> entity, boolean load) {
if (_metamodel.containsKey(entity))
return _metamodel.get(entity);
String m2 = _factory.getMetaModelClassName(entity.getName());
try {
ClassLoader loader = AccessController.doPrivileged(J2DoPrivHelper.getCl... |
public void setTabs(int[] tabs) {
checkLayout();
if (this.tabs == null && tabs == null) return;
if (this.tabs != null && tabs !=null) {
if (this.tabs.length == tabs.length) {
int i;
for (i = 0; i <tabs.length; i++) {
if (this.tabs[i] != tabs[i]) break;
}
if (i == tabs.length) return;
}
}
freeRu... | public void setTabs(int[] tabs) {
checkLayout();
if (this.tabs == null && tabs == null) return;
if (this.tabs != null && tabs !=null) {
if (this.tabs.length == tabs.length) {
int i;
for (i = 0; i <tabs.length; i++) {
if (this.tabs[i] != tabs[i]) break;
}
if (i == tabs.length) return;
}
}
freeRu... |
public Object[] toParameterArray(StoreQuery q, Map userParams) {
if (userParams == null || userParams.isEmpty())
return StoreQuery.EMPTY_OBJECTS;
String sql = q.getContext().getQueryString();
List<Integer> paramOrder = new ArrayList<Integer>();
try... | public Object[] toParameterArray(StoreQuery q, Map userParams) {
if (userParams == null || userParams.isEmpty())
return StoreQuery.EMPTY_OBJECTS;
String sql = q.getContext().getQueryString();
List<Integer> paramOrder = new ArrayList<Integer>();
try... |
protected boolean matchHostContainerToConnectTarget(
ServiceReference serviceReference, IContainer container) {
Object target = serviceReference
.getProperty(RemoteConstants.EXPORTED_CONTAINER_CONNECT_TARGET);
if (target == null)
return true;
// If a targetID is specified, make sure it either matches w... | protected boolean matchHostContainerToConnectTarget(
ServiceReference serviceReference, IContainer container) {
Object target = serviceReference
.getProperty(RemoteConstants.ENDPOINT_CONNECTTARGET_ID);
if (target == null)
return true;
// If a targetID is specified, make sure it either matches what the
... |
public IRemoteServiceContainer[] selectHostContainers(
ServiceReference serviceReference,
String[] serviceExportedInterfaces,
String[] serviceExportedConfigs, String[] serviceIntents) {
// Find previously created containers that match the given
// serviceExportedConfigs and serviceIntents
Collection rsC... | public IRemoteServiceContainer[] selectHostContainers(
ServiceReference serviceReference,
String[] serviceExportedInterfaces,
String[] serviceExportedConfigs, String[] serviceIntents) {
// Find previously created containers that match the given
// serviceExportedConfigs and serviceIntents
Collection rsC... |
public NSSize contentViewMargins() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_contentViewMargins);
return result;
}
| public NSSize contentViewMargins() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_contentViewMargins);
return result;
}
|
public NSSize cellSize() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_cellSize);
return result;
}
| public NSSize cellSize() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_cellSize);
return result;
}
|
public NSSize size() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_size);
return result;
}
| public NSSize size() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_size);
return result;
}
|
public NSSize paperSize() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_paperSize);
return result;
}
| public NSSize paperSize() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_paperSize);
return result;
}
|
public NSRange lineRangeForRange(NSRange range) {
NSRange result = new NSRange();
OS.objc_msgSend_struct(result, this.id, OS.sel_lineRangeForRange_1, range);
return result;
}
| public NSRange lineRangeForRange(NSRange range) {
NSRange result = new NSRange();
OS.objc_msgSend_stret(result, this.id, OS.sel_lineRangeForRange_1, range);
return result;
}
|
public NSSize minimumSize() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_minimumSize);
return result;
}
| public NSSize minimumSize() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_minimumSize);
return result;
}
|
public NSRange selectedRange() {
NSRange result = new NSRange();
OS.objc_msgSend_struct(result, this.id, OS.sel_selectedRange);
return result;
}
| public NSRange selectedRange() {
NSRange result = new NSRange();
OS.objc_msgSend_stret(result, this.id, OS.sel_selectedRange);
return result;
}
|
public NSSize containerSize() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_containerSize);
return result;
}
| public NSSize containerSize() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_containerSize);
return result;
}
|
public NSSize sizeValue() {
NSSize result = new NSSize();
OS.objc_msgSend_struct(result, this.id, OS.sel_sizeValue);
return result;
}
| public NSSize sizeValue() {
NSSize result = new NSSize();
OS.objc_msgSend_stret(result, this.id, OS.sel_sizeValue);
return result;
}
|
private void endBlock() {
computedBlockCRC = mCrc.getFinalCRC();
/* A bad CRC is considered a fatal error. */
if (storedBlockCRC != computedBlockCRC)
crcError();
computedCombinedCRC = (computedCombinedCRC << 1)
| (computedCombinedCRC >> 31);
computedC... | private void endBlock() {
computedBlockCRC = mCrc.getFinalCRC();
/* A bad CRC is considered a fatal error. */
if (storedBlockCRC != computedBlockCRC)
crcError();
computedCombinedCRC = (computedCombinedCRC << 1)
| (computedCombinedCRC >>> 31);
computed... |
private void endBlock() throws IOException {
blockCRC = mCrc.getFinalCRC();
combinedCRC = (combinedCRC << 1) | (combinedCRC >> 31);
combinedCRC ^= blockCRC;
/* sort the block and establish posn of original string */
doReversibleTransformation();
/*
A 6-byt... | private void endBlock() throws IOException {
blockCRC = mCrc.getFinalCRC();
combinedCRC = (combinedCRC << 1)|(combinedCRC >>> 31);
combinedCRC ^= blockCRC;
/* sort the block and establish posn of original string */
doReversibleTransformation();
/*
A 6-byte... |
protected Url buildUrl(UrlInfo info)
{
Class<? extends IRequestablePage> pageClass = info.getPageClass();
if (pageClass.getName().startsWith(packageName.getName()))
{
Url url = new Url();
url.getSegments().add(mountPath);
url.getSegments().add(pageClass.getSimpleName());
encodePageComponentInfo(url... | protected Url buildUrl(UrlInfo info)
{
Class<? extends IRequestablePage> pageClass = info.getPageClass();
if (PackageName.forClass(pageClass).equals(packageName))
{
Url url = new Url();
url.getSegments().add(mountPath);
url.getSegments().add(pageClass.getSimpleName());
encodePageComponentInfo(url, ... |
private void parseXML(URL xml, Class cls, int mode, ClassLoader envLoader) {
ClassLoader loader = repos.getConfiguration().
getClassResolverInstance().getClassLoader(cls, envLoader);
XMLPersistenceMetaDataParser xmlParser = getXMLParser();
xmlParser.setClassLoader(loader);
... | private void parseXML(URL xml, Class cls, int mode, ClassLoader envLoader) {
ClassLoader loader = repos.getConfiguration().
getClassResolverInstance().getClassLoader(cls, envLoader);
XMLPersistenceMetaDataParser xmlParser = getXMLParser();
xmlParser.setClassLoader(envLoader);
... |
public void renderResult(SampleResult sampleResult) {
String response = ViewResultsFullVisualizer.getResponseAsString(sampleResult);
try {
xmlDataField.setText(response == null ? "" : XPathUtil.formatXml(response));
xmlDataField.setCaretPosition(0);
} catch (Exception... | public void renderResult(SampleResult sampleResult) {
String response = ViewResultsFullVisualizer.getResponseAsString(sampleResult);
try {
xmlDataField.setText(response == null ? "" : response);
xmlDataField.setCaretPosition(0);
} catch (Exception e) {
log... |
public static int VERSION(int major, int minor, int micro) {
return major << 16 + minor << 8 + micro;
}
| public static int VERSION(int major, int minor, int micro) {
return (major << 16) + (minor << 8) + micro;
}
|
log("Unrecognized publicId " + publicId + " - using EJB 1.1 compiler", Project.MSG_WARN);
ejbcClassName = COMPILER_EJB11;
}
}
javaTask.setClassname(ejbcClassName);
javaTask.createArg().setLine(additionalArgs);
... | log("Unrecognized publicId " + publicId + " - using EJB 1.1 compiler", Project.MSG_WARN);
ejbcClassName = COMPILER_EJB11;
}
}
javaTask.setClassname(ejbcClassName);
javaTask.createArg().setLine(additionalArgs);
... |
FetchMode value() default FetchMode.NONE;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | FetchMode value() default FetchMode.NONE;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... |
public enum ForeignKeyAction {
RESTRICT,
CASCADE,
NULL,
DEFAULT
};
| public enum ForeignKeyAction {
RESTRICT,
CASCADE,
NULL,
DEFAULT
}
|
FetchMode value() default FetchMode.NONE;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... | FetchMode value() default FetchMode.NONE;
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache Li... |
public void redirect(String url)
{
if (!redirect)
{
if (httpServletResponse != null)
{
// encode to make sure no caller forgot this
url = encodeURL(url).toString();
try
{
if (httpServletResponse.isCommitted())
{
log.error("Unable to redirect to: " + url
+ ", HTTP Resp... | public void redirect(String url)
{
if (!redirect)
{
if (httpServletResponse != null)
{
// encode to make sure no caller forgot this
url = encodeURL(url).toString();
try
{
if (httpServletResponse.isCommitted())
{
log.error("Unable to redirect to: " + url
+ ", HTTP Resp... |
public void connect(ID remote, IConnectContext joinContext)
throws ContainerConnectException {
try {
if (isClosing)
throw new IllegalStateException("container is closing");
debug("connect(" + remote + "," + joinContext + ")");
Object response = null;
synchronized (getConnectLock()) {
// Throw ... | public void connect(ID remote, IConnectContext joinContext)
throws ContainerConnectException {
try {
if (isClosing)
throw new IllegalStateException("container is closing");
debug("connect(" + remote + "," + joinContext + ")");
Object response = null;
synchronized (getConnectLock()) {
// Throw ... |
protected ContainerMessage acceptNewClient(Socket socket, String target,
Serializable data, ISynchAsynchConnection conn) {
debug("acceptNewClient("+socket+","+target+","+data+","+conn+")");
try {
ContainerMessage mess = (ContainerMessage) data;
if (mess == null)
... | protected ContainerMessage acceptNewClient(Socket socket, String target,
Serializable data, ISynchAsynchConnection conn) {
debug("acceptNewClient("+socket+","+target+","+data+","+conn+")");
try {
ContainerMessage mess = (ContainerMessage) data;
if (mess == null)
... |
public void disconnect() {
ID groupID = getConnectedID();
fireContainerEvent(new ContainerDisconnectingEvent(this.getID(),
groupID));
synchronized (getConnectLock()) {
// If we are currently connected
if (isConnected()) {
try {
multiuserchat.leave();
} catch (Exception e) {
dumpStack(... | public void disconnect() {
ID groupID = getConnectedID();
fireContainerEvent(new ContainerDisconnectingEvent(this.getID(),
groupID));
synchronized (getConnectLock()) {
// If we are currently connected
if (isConnected()) {
try {
multiuserchat.leave();
} catch (Exception e) {
traceStack... |
protected void onComponentTag(final ComponentTag tag)
{
super.onComponentTag(tag);
checkComponentTag(tag, "form");
if (isRootForm())
{
String method = getMethod().toLowerCase();
tag.put("method", method);
String url = getActionUrl().toString();
if (encodeUrlInHiddenFields())
{
int i = url... | protected void onComponentTag(final ComponentTag tag)
{
super.onComponentTag(tag);
checkComponentTag(tag, "form");
if (isRootForm())
{
String method = getMethod().toLowerCase();
tag.put("method", method);
String url = getActionUrl().toString();
if (encodeUrlInHiddenFields())
{
int i = url... |
public void testRenderTreePageWithBorder_1() throws Exception
{
executeTest(TreePageWithBorder.class, "TreePageWithBorderExpectedResult_1.html");
Page page = application.getLastRenderedPage();
application.setupRequestAndResponse();
application.getServletRequest().setRequestToRedirectString("?path=0:border:tr... | public void testRenderTreePageWithBorder_1() throws Exception
{
executeTest(TreePageWithBorder.class, "TreePageWithBorderExpectedResult_1.html");
Page page = application.getLastRenderedPage();
application.setupRequestAndResponse();
application.getServletRequest().setRequestToRedirectString("?path=0:tree:tree... |
public boolean orderDirty() {
return false;
}
| public boolean orderDirty() {
return true;
}
|
public boolean isBridgeMethod() {
return (modifiers & Constants.ACC_BRIDGE)!=0;
}
| public boolean isBridgeMethod() {
return (modifiers & Constants.ACC_BRIDGE)!=0 && getKind().equals(METHOD);
}
|
protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs,
File zipFile,
boolean needsUpdate)
throws BuildException {
if (skipWriting) {
// this pass is only there to construct the merged
... | protected ArchiveState getResourcesToAdd(ResourceCollection[] rcs,
File zipFile,
boolean needsUpdate)
throws BuildException {
if (skipWriting) {
// this pass is only there to construct the merged
... |
public void execute() throws BuildException {
if (output == null) {
throw new BuildException("output attribute is required", location);
}
PrintWriter out = null;
try {
try {
out = new PrintWriter(new OutputStreamWriter(new FileOutputS... | public void execute() throws BuildException {
if (output == null) {
throw new BuildException("output attribute is required", location);
}
PrintWriter out = null;
try {
try {
out = new PrintWriter(new OutputStreamWriter(new FileOutputS... |
public void dispose () {
if (isDisposed()) return;
/*
* Must call parent.destroyItem() before super.dispose(), since it needs to
* query the bounds to properly remove the item.
*/
parent.destroyItem(this);
super.dispose ();
parent = null;
control = null;
/*
* Although the parent for the chevron is t... | public void dispose () {
if (isDisposed()) return;
/*
* Must call parent.destroyItem() before super.dispose(), since it needs to
* query the bounds to properly remove the item.
*/
parent.destroyItem(this);
super.dispose ();
parent = null;
control = null;
/*
* Although the parent for the chevron is t... |
public void removedService(ServiceReference reference,
Object service) {
Trace.trace(Activator.PLUGIN_ID, "removedService="
+ reference + ",svc=" + service);
}
});
st.open();
return st;
}
| public void removedService(ServiceReference reference,
Object service) {
Trace.trace(Activator.PLUGIN_ID, "removedService="
+ reference + ",svc=" + service);
}
});
st.open(true);
return st;
}
|
public JDBCConfigurationImpl(boolean derivations, boolean loadGlobals) {
super(false, false);
String[] aliases;
schema = addString("jdbc.Schema");
schemas = addStringList("jdbc.Schemas");
transactionIsolation = addInt("jdbc.TransactionIsolation");
aliases = new Stri... | public JDBCConfigurationImpl(boolean derivations, boolean loadGlobals) {
super(false, false);
String[] aliases;
schema = addString("jdbc.Schema");
schemas = addStringList("jdbc.Schemas");
transactionIsolation = addInt("jdbc.TransactionIsolation");
aliases = new Stri... |
public void setUp() throws Exception {
super.setUp(CLEAR_TABLES, Company.class, Department.class,
Employee.class, Address.class,
"openjpa.QuerySQLCache",
"true(excludes='select count(p) from Company p;select count(p) from Department p')");
createTestData();
}
| public void setUp() throws Exception {
super.setUp(CLEAR_TABLES, Company.class, Department.class,
Employee.class, Address.class,
"openjpa.jdbc.QuerySQLCache",
"true(excludes='select count(p) from Company p;select count(p) from Department p')");
createTestData();
}
|
package org.apache.myrmidon.components.builder;
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apach... | package org.apache.myrmidon.components.builder;
/*
* Copyright (C) The Apache Software Foundation. All rights reserved.
*
* This software is published under the terms of the Apache Software License
* version 1.1, a copy of which has been included with this distribution in
* the LICENSE file.
*/
package org.apach... |
public static boolean testFunctors(){
SummaryReport instance = new SummaryReport();
return instance.model.checkFunctors(null);
}
| public static boolean testFunctors(){
SummaryReport instance = new SummaryReport();
return instance.model.checkFunctors(null,instance.getClass());
}
|
public static boolean testFunctors(){
TableVisualizer instance = new TableVisualizer();
return instance.model.checkFunctors(null);
}
| public static boolean testFunctors(){
TableVisualizer instance = new TableVisualizer();
return instance.model.checkFunctors(null,instance.getClass());
}
|
public void deselectAll () {
checkWidget ();
deselect (null, 0);
}
void destroyItem (TableColumn column) {
int index = 0;
while (index < columnCount) {
if (columns [index] == column) break;
index++;
}
for (int i=0; i<itemCount; i++) {
TableItem item = items [i];
if (item != null) {
if (columnCount <= ... | public void deselectAll () {
checkWidget ();
deselect (null, 0);
}
void destroyItem (TableColumn column) {
int index = 0;
while (index < columnCount) {
if (columns [index] == column) break;
index++;
}
for (int i=0; i<itemCount; i++) {
TableItem item = items [i];
if (item != null) {
if (columnCount <= ... |
public void renderBefore(Component component)
{
Response response = RequestCycle.get().getResponse();
TreeNode parent = node.getParent();
CharSequence classes[] = new CharSequence[level];
for (int i = 0; i < level; ++i)
{
if (isNodeLast(parent))
{
classes[i] = "spacer";
}
else
... | public void renderBefore(Component component)
{
Response response = RequestCycle.get().getResponse();
TreeNode parent = node.getParent();
CharSequence classes[] = new CharSequence[level];
for (int i = 0; i < level; ++i)
{
if (parent == null || isNodeLast(parent))
{
classes[i] = "spacer"... |
public void removeSelectionListener(SelectionListener listener) {
checkWidget();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
if (eventTable == null) return;
eventTable.unhook (SWT.Selection, listener);
eventTable.unhook (SWT.DefaultSelection,listener);
}
int /*long*/ rendererGetSizeProc (int /*long*/ ... | public void removeSelectionListener(SelectionListener listener) {
checkWidget();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
if (eventTable == null) return;
eventTable.unhook (SWT.Selection, listener);
eventTable.unhook (SWT.DefaultSelection,listener);
}
int /*long*/ rendererGetSizeProc (int /*long*/ ... |
public void removeTreeListener(TreeListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
if (eventTable == null) return;
eventTable.unhook (SWT.Expand, listener);
eventTable.unhook (SWT.Collapse, listener);
}
int /*long*/ rendererGetSizeProc (int /*long*/ cell, int /*long*/ w... | public void removeTreeListener(TreeListener listener) {
checkWidget ();
if (listener == null) error (SWT.ERROR_NULL_ARGUMENT);
if (eventTable == null) return;
eventTable.unhook (SWT.Expand, listener);
eventTable.unhook (SWT.Collapse, listener);
}
int /*long*/ rendererGetSizeProc (int /*long*/ cell, int /*long*/ w... |
private static Image getItemIcon(IConfigurationElement ce) {
String iconPath = getItemAttribute(ce, LAUNCH_ITEMS_XML_ITEM_ICON, "");
if (iconPath.length() != 0) {
String symbolicName = ce.getDeclaringExtension().getNamespace();
Bundle bundle = Platform.getBundle(symbolicName);
Image icon = getImageFromPlu... | private static Image getItemIcon(IConfigurationElement ce) {
String iconPath = getItemAttribute(ce, LAUNCH_ITEMS_XML_ITEM_ICON, "");
if (iconPath.length() != 0) {
String symbolicName = ce.getDeclaringExtension().getContributor().getName();
Bundle bundle = Platform.getBundle(symbolicName);
Image icon = get... |
public void copyFile(File sourceFile, File destFile, boolean filtering,
boolean overwrite, boolean preserveLastModified)
throws IOException {
if (overwrite || !destFile.exists() ||
destFile.lastModified() < sourceFile.lastModified()) {
if (d... | public void copyFile(File sourceFile, File destFile, boolean filtering,
boolean overwrite, boolean preserveLastModified)
throws IOException {
if (overwrite || !destFile.exists() ||
destFile.lastModified() < sourceFile.lastModified()) {
if (d... |
protected String signIn(final RequestCycle cycle,
final String username, final String password)
{
// Sign the user in
final User user = Authenticator.forSession(cycle.getSession())
... | public String signIn(final RequestCycle cycle,
final String username, final String password)
{
// Sign the user in
final User user = Authenticator.forSession(cycle.getSession())
... |
public int getLineCount () {
checkWidget();
if ((style & SWT.SINGLE) != 0) return 1;
return ((NSTextView)view).textStorage().paragraphs().count() + 1;
}
| public int getLineCount () {
checkWidget();
if ((style & SWT.SINGLE) != 0) return 1;
return ((NSTextView)view).textStorage().paragraphs().count();
}
|
public void testDefault()
{
tester.startPage(A.class, new PageParameters().set("file", "umlaut-\u00E4-\u00F6-\u00FC"));
tester.assertRenderedPage(B.class);
String url2 = ((B)tester.getLastRenderedPage()).getInterceptContinuationURL();
assertTrue(url2.contains("umlaut-%C3%A4-%C3%B6-%C3%BC"));
tester.clickL... | public void testDefault()
{
tester.startPage(A.class, new PageParameters().set("file", "umlaut-\u00E4-\u00F6-\u00FC"));
tester.assertRenderedPage(B.class);
String url2 = ((B)tester.getLastRenderedPage()).getInterceptContinuationURL();
assertTrue(url2.contains("umlaut-%C3%A4-%C3%B6-%C3%BC"));
tester.clickL... |
public Class getHomePage() {
return HomePage.class;
}
} | public Class<HomePage> getHomePage() {
return HomePage.class;
}
} |
public BasePage() {
add(new BookmarkablePageLink("home-link", HomePage.class));
}
| public BasePage() {
new BookmarkablePageLink(this,"home-link", HomePage.class);
}
|
public static final int sizeof = 40;
} | public static final int sizeof = 32;
} |
public void execute()
throws TaskException
{
if( baseDir == null )
{
throw new TaskException( "base attribute must be set!" );
}
if( !baseDir.exists() )
{
throw new TaskException( "base does not exist!" );
}
if( verify )
... | public void execute()
throws TaskException
{
if( baseDir == null )
{
throw new TaskException( "base attribute must be set!" );
}
if( !baseDir.exists() )
{
throw new TaskException( "base does not exist!" );
}
if( verify )
... |
public void testOrdering3() {
String jpql = "SELECT o.quantity, o.totalCost * 1.08 AS taxedCost, "
+ "a.zipCode FROM Customer c JOIN c.orders o JOIN c.address a "
+ "WHERE a.state = 'CA' AND a.county = 'Santa Clara' "
+ "ORDER BY o.quantity, taxedCost, a.zipCode";
... | public void testOrdering3() {
String jpql = "SELECT o.quantity, o.totalCost * 1.08 AS taxedCost, "
+ "a.zipCode FROM Customer c JOIN c.orders o JOIN c.address a "
+ "WHERE a.state = 'CA' AND a.county = 'Santa Clara' "
+ "ORDER BY o.quantity, taxedCost, a.zipCode";
... |
public ID createInstance(Object[] parameters) throws IDCreateException {
if (parameters == null || parameters.length < 1 || parameters.length > 2) {
throw new IDCreateException(Messages.JSLPNamespace_2);
} else if (parameters[0] == null || parameters[0].equals("")) { //$NON-NLS-1$
throw new IDCreateException... | public ID createInstance(Object[] parameters) throws IDCreateException {
if (parameters == null || parameters.length < 1 || parameters.length > 2) {
throw new IDCreateException(Messages.JSLPNamespace_2);
} else if (parameters[0] == null || parameters[0].equals("")) { //$NON-NLS-1$
throw new IDCreateException... |
protected void explain()
{
String html = "<a wicket:id=\"pageLinkWithArgs\">go to our bookmarkable page passing a message argument</a>";
String code = " // Note that any arguments are passed as request parameters, and should thus be strings\n"
+ " &nbs... | protected void explain()
{
String html = "<a wicket:id=\"pageLinkWithArgs\">go to our bookmarkable page passing a message argument</a>";
String code = " // Note that any arguments are passed as request parameters, and should thus be strings\n"
+ " &nbs... |
String code = " public BorderPage()\n"
+ " {\n"
+ " Label label = new Label(\"label\", \"I am the label\");\n"
+ " MyBorder border = new MyBorder(\"border\");\n"
... | String code = " public BorderPage()\n"
+ " {\n"
+ " Label label = new Label(\"label\", \"I am the label\");\n"
+ " MyBorder border = new MyBorder(this, \"border\");\n... |
public void setUserProperty(String name, String value) {
log("Setting project property: " + name + " -> " +
value, MSG_VERBOSE);
userProperties.put(name, value);
properties.put(name, value);
}
| public void setUserProperty(String name, String value) {
log("Setting ro project property: " + name + " -> " +
value, MSG_VERBOSE);
userProperties.put(name, value);
properties.put(name, value);
}
|
public Object component(final Component component)
{
// Get button
final SubmitLink button = (SubmitLink)component;
// Check for button-name or button-name.x request string
if (button.getSubmitLinkForm() == Form.this
&& (getRequest().getParameter(button.getInputName()) != null || get... | public Object component(final Component component)
{
// Get button
final SubmitLink button = (SubmitLink)component;
// Check for button-name or button-name.x request string
if (button.getForm() == Form.this
&& (getRequest().getParameter(button.getInputName()) != null || getRequest()
... |
public int getJDBCType(int metaTypeCode, boolean lob, int precis,
int scale, boolean xml) {
return getJDBCType(metaTypeCode, lob && !xml, precis, scale);
}
| public int getJDBCType(int metaTypeCode, boolean lob, int precis,
int scale, boolean xml) {
return getJDBCType(metaTypeCode, lob || xml, precis, scale);
}
|
public void setUp() {
setUp(Customer.class, Customer.CustomerKey.class, Order.class,
EAddress.class, CLEAR_TABLES);
// skip test if dictionary has no support for XML column type
setTestsDisabled(!dictionarySupportsXMLColumn());
if (isTestsDisabled()) {
getLog... | public void setUp() {
setUp(Customer.class, Customer.CustomerKey.class, Order.class,
EAddress.class, DROP_TABLES); // test create table DDL for XML column
// skip test if dictionary has no support for XML column type
setTestsDisabled(!dictionarySupportsXMLColumn());
if ... |
private static boolean isGetter(Class iface, FieldMetaData fmd) {
if (fmd.getType() != boolean.class && fmd.getType() != Boolean.class)
return true;
try {
Method meth = iface.getDeclaredMethod("is" + StringUtils.capitalize
(fmd.getName()), null);
r... | private static boolean isGetter(Class iface, FieldMetaData fmd) {
if (fmd.getType() != boolean.class && fmd.getType() != Boolean.class)
return true;
try {
Method meth = iface.getDeclaredMethod("is" + StringUtils.capitalize
(fmd.getName()), (Class[]) null);
... |
public void addJavaRuntime() {
if ("Kaffe".equals(System.getProperty("java.vm.name"))) {
// newer versions of Kaffe (1.1.1+) won't have this,
// but this will be sorted by FileSet anyway.
File kaffeShare = new File(System.getProperty("java.home")
... | public void addJavaRuntime() {
if (JavaEnvUtils.isKaffe()) {
// newer versions of Kaffe (1.1.1+) won't have this,
// but this will be sorted by FileSet anyway.
File kaffeShare = new File(System.getProperty("java.home")
+ File.separat... |
protected String read(String filename) {
String content = null;
try {
File file = getProject().resolveFile(filename);
java.io.FileReader rdr = new java.io.FileReader(file);
content = fu.readFully(rdr);
rdr.close();
rdr = null;
} cat... | protected String read(String filename) {
String content = null;
try {
File file = getProject().resolveFile(filename);
java.io.FileReader rdr = new java.io.FileReader(file);
content = FileUtils.readFully(rdr);
rdr.close();
rdr = null;
... |
private String getFileString(String filename)
throws IOException
{
Reader r = null;
try {
r = new FileReader(getProject().resolveFile(filename));
return FileUtils.newFileUtils().readFully(r);
}
finally {
try {r.close();} catch (Throwab... | private String getFileString(String filename)
throws IOException
{
Reader r = null;
try {
r = new FileReader(getProject().resolveFile(filename));
return FileUtils.readFully(r);
}
finally {
try {r.close();} catch (Throwable ignore) {}
... |
private String getFileString(String filename) throws IOException {
String result = null;
FileReader reader = null;
try {
reader = new FileReader(getProject().resolveFile(filename));
result = FileUtils.newFileUtils().readFully(reader);
} finally {
i... | private String getFileString(String filename) throws IOException {
String result = null;
FileReader reader = null;
try {
reader = new FileReader(getProject().resolveFile(filename));
result = FileUtils.readFully(reader);
} finally {
if (reader != nu... |
public void testBuildfile() throws IOException {
configureProject(DIR + "/cdataoutput.xml");
if (getProject().getProperty("cdata.inner") == null) {
// avoid endless loop
executeTarget("run-junit");
File f = getProject().resolveFile(REPORT);
FileReader ... | public void testBuildfile() throws IOException {
configureProject(DIR + "/cdataoutput.xml");
if (getProject().getProperty("cdata.inner") == null) {
// avoid endless loop
executeTarget("run-junit");
File f = getProject().resolveFile(REPORT);
FileReader ... |
public IResourceStream getMarkupResourceStream(final MarkupContainer container,
Class<? extends MarkupContainer> containerClass)
{
// Get locator to search for the resource
final IResourceStreamFactory locator = Application.get().getResourceSettings()
.getResourceStreamFactory();
String style = containe... | public IResourceStream getMarkupResourceStream(final MarkupContainer container,
Class<? extends MarkupContainer> containerClass)
{
// Get locator to search for the resource
final IResourceStreamFactory locator = Application.get().getResourceSettings()
.getResourceStreamFactory();
String style = containe... |
private MarkupFragment findMarkup(final String extension)
{
// Get locator to search for the resource
final IResourceStreamFactory locator = Application.get().getResourceSettings()
.getResourceStreamFactory();
final Session session = Session.get();
final String style = session.getStyle();
final Locale ... | private MarkupFragment findMarkup(final String extension)
{
// Get locator to search for the resource
final IResourceStreamFactory locator = Application.get().getResourceSettings()
.getResourceStreamFactory();
final Session session = Session.get();
final String style = session.getStyle();
final Locale ... |
private IResourceStream getResourceStream(final Component component)
{
final IResourceStream resourceStream;
String filePath = this.xslFile;
if (filePath == null)
{
filePath = component.findParentWithAssociatedMarkup().getClass().getPackage().getName()
.replace('.', '/')
+ "/" + component.getId(... | private IResourceStream getResourceStream(final Component component)
{
final IResourceStream resourceStream;
String filePath = this.xslFile;
if (filePath == null)
{
filePath = component.findParentWithAssociatedMarkup().getClass().getPackage().getName()
.replace('.', '/')
+ "/" + component.getId(... |
public Properties get(final Class clazz, final String style, final Locale locale)
{
final String key = createResourceKey(clazz, locale, style);
Properties props = propertiesCache.get(key);
if ((props == null) && (propertiesCache.containsKey(key) == false))
{
final IResourceStream resource = resourceSetting... | public Properties get(final Class clazz, final String style, final Locale locale)
{
final String key = createResourceKey(clazz, locale, style);
Properties props = propertiesCache.get(key);
if ((props == null) && (propertiesCache.containsKey(key) == false))
{
final IResourceStream resource = resourceSetting... |
public PackagedTextTemplate(final Class<?> clazz, final String fileName, final String contentType,
final String encoding)
{
super(contentType);
String path = Packages.absolutePath(clazz, fileName);
IResourceStream stream = ResourceStreamFactory.get().locate(clazz, path);
if (stream == null)
{
throw ... | public PackagedTextTemplate(final Class<?> clazz, final String fileName, final String contentType,
final String encoding)
{
super(contentType);
String path = Packages.absolutePath(clazz, fileName);
IResourceStream stream = ResourceStreamFactory.get().newResourceStream(clazz, path);
if (stream == null)
... |
private MarkupResourceStream newMarkupResourceStream(final IResourceStreamFactory locator,
final Class c, final String style, final Locale locale, final String extension)
{
IResourceStream resource = locator.locate(c, c.getName().replace('.', '/'), style, locale,
extension);
MarkupResourceStream res = new ... | private MarkupResourceStream newMarkupResourceStream(final IResourceStreamFactory locator,
final Class c, final String style, final Locale locale, final String extension)
{
IResourceStream resource = locator.newResourceStream(c, c.getName().replace('.', '/'), style, locale,
extension);
MarkupResourceStream... |
protected void onRender()
{
renderComponent();
}
| protected void onRender()
{
internalRenderComponent();
}
|
public TableItem (Table parent, int style, int index) {
this (parent, style, index, true);
}
TableItem (Table parent, int style, int index, boolean notifyParent) {
super (parent, style);
int validItemIndex = parent.itemsCount;
if (!(0 <= index && index <= validItemIndex)) error (SWT.ERROR_INVALID_RANGE);
this.pare... | public TableItem (Table parent, int style, int index) {
this (parent, style, index, true);
}
TableItem (Table parent, int style, int index, boolean notifyParent) {
super (parent, style);
int validItemIndex = parent.itemsCount;
if (!(0 <= index && index <= validItemIndex)) error (SWT.ERROR_INVALID_RANGE);
this.pare... |
public TreeItem (TreeItem parentItem, int style, int index) {
super (parentItem, style);
this.parentItem = parentItem;
parent = parentItem.parent;
depth = parentItem.depth + 1;
int validItemIndex = parentItem.items.length;
if (!(0 <= index && index <= validItemIndex)) error (SWT.ERROR_INVALID_RANGE);
int columnC... | public TreeItem (TreeItem parentItem, int style, int index) {
super (parentItem, style);
this.parentItem = parentItem;
parent = parentItem.parent;
depth = parentItem.depth + 1;
int validItemIndex = parentItem.items.length;
if (!(0 <= index && index <= validItemIndex)) error (SWT.ERROR_INVALID_RANGE);
int columnC... |
public void setUp() {
setUp(UnenhancedPropertyAccess.class, CLEAR_TABLES);
UnenhancedPropertyAccess o = new UnenhancedPropertyAccess();
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
em.persist(o);
em.getTransaction().commit();
em.... | public void setUp() {
setUp(UnenhancedPropertyAccess.class, CLEAR_TABLES, "openjpa.RuntimeUnenhancedClasses", "supported");
UnenhancedPropertyAccess o = new UnenhancedPropertyAccess();
EntityManager em = emf.createEntityManager();
em.getTransaction().begin();
em.persist(o);
... |
public void onClick()
{
setResponsePage(new SourcesPage(getPage().getClass()));
}
};
add(link);
PopupSettings settings = new PopupSettings(PageMap.forName("sources"));
settings.setWidth(800);
settings.setHeight(600);
settings.setWindowName("sources");
link.setPopupSettings(settings);
}
| public void onClick()
{
setResponsePage(new SourcesPage(getPage().getClass()));
}
};
add(link);
PopupSettings settings = new PopupSettings(PageMap.forName("sources"), PopupSettings.RESIZABLE);
settings.setWidth(800);
settings.setHeight(600);
settings.setWindowName("sources");
link.setPopupSe... |
package wicket.resource.loader;
/*
* $Id$
* $Revision$ $Date$
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the Li... | package wicket.resource.loader;
/*
* $Id$
* $Revision$ $Date$
*
* ==============================================================================
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the Li... |
public void resolveBindings(IScope scope, Bindings bindings) {
if (kind == Shadow.Initialization) {
// scope.getMessageHandler().handleMessage(
// MessageUtil.error(
// "initialization unimplemented in 1.1beta1",
// this.getSourceLocation()));
}
signature = signature.resolveBindings(scope, bindings)... | public void resolveBindings(IScope scope, Bindings bindings) {
if (kind == Shadow.Initialization) {
// scope.getMessageHandler().handleMessage(
// MessageUtil.error(
// "initialization unimplemented in 1.1beta1",
// this.getSourceLocation()));
}
signature = signature.resolveBindings(scope, bindings)... |
public JSLPServiceInfo(IServiceID serviceID) {
super(null, serviceID, ServicePropertiesAdapter.PRIORITY_UNSET, ServicePropertiesAdapter.WEIGHT_UNSET, new ServiceProperties());
}
| public JSLPServiceInfo(IServiceID serviceID) {
super(null, serviceID, DEFAULT_PRIORITY, DEFAULT_WEIGHT, new ServiceProperties());
}
|
public AuxiliaryEnhancer[] getAuxiliaryEnhancers() {
if (_auxEnhancers == null) {
try {
Class[] classes = Services.getImplementorClasses
(AuxiliaryEnhancer.class);
_auxEnhancers = new AuxiliaryEnhancer[classes.length];
for (int i = 0; i < _... | public AuxiliaryEnhancer[] getAuxiliaryEnhancers() {
if (_auxEnhancers == null) {
try {
Class[] classes = Services.getImplementorClasses
(AuxiliaryEnhancer.class, getClass().getClassLoader());
_auxEnhancers = new AuxiliaryEnhancer[classes.length];
... |
private static Map _expressionParsers = new HashMap();
static {
// Load and cache all the query languages available in the system.
Class[] classes = Services.getImplementorClasses(
ExpressionParser.class);
for (int i = 0; i < classes.length; i++) {
ExpressionParse... | private static Map _expressionParsers = new HashMap();
static {
// Load and cache all the query languages available in the system.
Class[] classes = Services.getImplementorClasses(
ExpressionParser.class, QueryLanguages.class.getClassLoader());
for (int i = 0; i < classes.len... |
protected final String getJsTimeoutCall(final Duration updateInterval)
{
// this might look strange, but it is necessary for IE not to leak :(
return "setTimeout(\"" + getCallbackScript(false, true) + "\", "
+ updateInterval.getMilliseconds() + ");";
}
| protected final String getJsTimeoutCall(final Duration updateInterval)
{
// this might look strange, but it is necessary for IE not to leak :(
return "setTimeout(\"" + getCallbackScript(true) + "\", "
+ updateInterval.getMilliseconds() + ");";
}
|
protected final CharSequence getEventHandler()
{
return getCallbackScript(new AppendingStringBuffer("wicketAjaxPost('").append(
getCallbackUrl(true, false)).append(
"', wicketSerialize(document.getElementById('" + getComponent().getMarkupId()
+ "'))"), null, null);
}
| protected final CharSequence getEventHandler()
{
return getCallbackScript(new AppendingStringBuffer("wicketAjaxPost('").append(
getCallbackUrl(false)).append(
"', wicketSerialize(document.getElementById('" + getComponent().getMarkupId()
+ "'))"), null, null);
}
|
public void executeBehavior(final AbstractAjaxBehavior behavior)
{
setupRequestAndResponse();
WebRequestCycle cycle = createRequestCycle();
getServletRequest().setRequestToRedirectString(
behavior.getCallbackUrl(false, false).toString());
processRequestCycle(cycle);
| public void executeBehavior(final AbstractAjaxBehavior behavior)
{
setupRequestAndResponse();
WebRequestCycle cycle = createRequestCycle();
getServletRequest().setRequestToRedirectString(
behavior.getCallbackUrl(false).toString());
processRequestCycle(cycle);
|
private void unpackAttributes(World world) {
Attribute[] attrs = field.getAttributes();
List as = BcelAttributes.readAjAttributes(getDeclaringType().getClassName(),attrs, getSourceContext(world),world.getMessageHandler(),bcelObjectType.getWeaverVersionAttribute());
as.addAll(AtAjAttributes.readAj5Fie... | private void unpackAttributes(World world) {
Attribute[] attrs = field.getAttributes();
List as = BcelAttributes.readAjAttributes(getDeclaringType().getClassName(),attrs, getSourceContext(world),world,bcelObjectType.getWeaverVersionAttribute());
as.addAll(AtAjAttributes.readAj5FieldAttributes(field, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.