Unnamed: 0
int64
0
305k
body
stringlengths
7
52.9k
name
stringlengths
1
185
45,300
Rectangle (@NotNull Component source, @NotNull Rectangle rectangle) { return null; }
toModel
45,301
Point (@NotNull Component target, @NotNull Point point) { return null; }
fromModel
45,302
Point (@NotNull Component source, @NotNull Point point) { return null; }
toModel
45,303
Dimension (@NotNull Component target, @NotNull Dimension size) { return null; }
fromModel
45,304
Dimension (@NotNull Component source, @NotNull Dimension size) { return null; }
toModel
45,305
Point (Component relativeFrom, int x, int y) { return null; }
convertPoint
45,306
InputTool (Point location, InputEvent event, boolean isTree) { return new DragTracker(this); }
getDragTracker
45,307
void (OperationContext context) { }
processDropOperation
45,308
void (List<StaticDecorator> decorators, List<RadComponent> selection) { }
addStaticDecorators
45,309
void (DesignerEditorPanel designer, DefaultActionGroup actionGroup, JComponent shortcuts, List<RadComponent> selection) { }
addSelectionActions
45,310
ICaption () { return null; }
getCaption
45,311
RadLayout () { return myLayout; }
getLayout
45,312
void (@Nullable RadLayout layout) { myLayout = layout; if (myLayout != null) { myLayout.setContainer(this); } }
setLayout
45,313
RadLayoutData () { return null; }
getLayoutData
45,314
List<Property> () { return Collections.emptyList(); }
getProperties
45,315
List<Property> (String key) { return Collections.emptyList(); }
getProperties
45,316
String (String name) { if (getProperties() == null) { throw new NullPointerException("Component " + this + ", " + myLayout + ", " + myMetaModel.getTag() + ", " + myMetaModel.getTarget() + " without properties"); } Property property = PropertyTable.findProperty(getProperties(), name); if (property != null) { try { retur...
getPropertyValue
45,317
void (@NotNull Object key, Object value) { myClientProperties.put(key, value); }
setClientProperty
45,318
void (RadComponentVisitor visitor, boolean forward) { if (visitor.visit(this)) { acceptChildren(visitor, forward); visitor.endVisit(this); } }
accept
45,319
void (RadComponentVisitor visitor, boolean forward) { List<RadComponent> children = getChildrenForAccept(visitor); if (forward) { for (RadComponent child : children) { child.accept(visitor, forward); } } else { int size = children.size(); for (int i = size - 1; i >= 0; i--) { children.get(i).accept(visitor, forward); }...
acceptChildren
45,320
List<RadComponent> (RadComponentVisitor visitor) { return getChildren(); }
getChildrenForAccept
45,321
boolean () { return myMetaModel == null || myMetaModel.canDelete(); }
canDelete
45,322
List<ErrorInfo> (RadComponent component) { List<ErrorInfo> errorInfos = component.getClientProperty(ERROR_KEY); return errorInfos == null ? Collections.emptyList() : errorInfos; }
getError
45,323
void (RadComponent component, ErrorInfo errorInfo) { List<ErrorInfo> errorInfos = component.getClientProperty(ERROR_KEY); if (errorInfos == null) { errorInfos = new ArrayList<>(); component.setClientProperty(ERROR_KEY, errorInfos); } errorInfos.add(errorInfo); }
addError
45,324
void (RadComponent component) { component.accept(new RadComponentVisitor() { @Override public void endVisit(RadComponent component) { component.extractClientProperty(ERROR_KEY); } }, true); }
clearErrors
45,325
void (RadComponent component) { component.extractClientProperty(ERROR_KEY); }
endVisit
45,326
Set<RadComponent> (List<? extends RadComponent> components) { Set<RadComponent> parents = new HashSet<>(); for (RadComponent component : components) { RadComponent parent = component.getParent(); if (parent != null) { parents.add(parent); } } return parents; }
getParents
45,327
boolean (List<RadComponent> components, RadComponent component) { RadComponent parent = component.getParent(); while (parent != null) { if (components.contains(parent)) { return true; } parent = parent.getParent(); } return false; }
isParentsContainedIn
45,328
List<RadComponent> (List<RadComponent> selection) { List<RadComponent> components = new ArrayList<>(); for (RadComponent component : selection) { if (!isParentsContainedIn(selection, component)) { components.add(component); } } return components; }
getPureSelection
45,329
boolean (@NotNull RadComponent component, boolean strict) { RadComponent parent = strict ? component.getParent() : component; while (true) { if (parent == null) { return false; } if (parent == this) { return true; } parent = parent.getParent(); } }
isAncestorFor
45,330
RadComponent () { return myResult; }
getResult
45,331
boolean (RadComponent component) { return myResult == null && component.getBounds(myComponent).contains(myX, myY) && (myFilter == null || myFilter.preFilter(component)); }
visit
45,332
void (RadComponent component) { if (myResult == null && (myFilter == null || myFilter.resultFilter(component))) { myResult = component; } }
endVisit
45,333
void (RadComponent container) { myContainer = container; }
setContainer
45,334
void (List<Property> properties) { }
configureProperties
45,335
void (RadComponent component, int index) { }
addComponentToContainer
45,336
void (RadComponent component) { }
removeComponentFromContainer
45,337
EditOperation (OperationContext context) { return null; }
processChildOperation
45,338
void (List<StaticDecorator> decorators, List<RadComponent> selection) { }
addStaticDecorators
45,339
void (DesignerEditorPanel designer, DefaultActionGroup actionGroup, JComponent shortcuts, List<RadComponent> selection) { }
addSelectionActions
45,340
ICaption (RadComponent component) { return null; }
getCaption
45,341
boolean (List<RadComponent> components) { return true; }
isWrapIn
45,342
List<MetaModel> () { return myModels; }
getModels
45,343
String () { return ""; }
getName
45,344
String () { return ""; }
getNamespace
45,345
String () { return ""; }
getLocalName
45,346
XmlElementDescriptor () { return null; }
getDescriptor
45,347
XmlAttribute (@NonNls String name, @NonNls String namespace) { return null; }
getAttribute
45,348
XmlAttribute (@NonNls String qname) { return null; }
getAttribute
45,349
String (@NonNls String name, @NonNls String namespace) { return null; }
getAttributeValue
45,350
String (@NonNls String qname) { return null; }
getAttributeValue
45,351
XmlTag (@NonNls String localName, @NonNls String namespace, @Nullable @NonNls String bodyText, boolean enforceNamespacesDeep) { return null; }
createChildTag
45,352
XmlTag (XmlTag subTag, boolean first) { return null; }
addSubTag
45,353
XmlTag (@NonNls String qname) { return null; }
findFirstSubTag
45,354
String () { return ""; }
getNamespacePrefix
45,355
String (@NonNls String prefix) { return ""; }
getNamespaceByPrefix
45,356
String (@NonNls String namespace) { return null; }
getPrefixByNamespace
45,357
String[] () { return ArrayUtilRt.EMPTY_STRING_ARRAY; }
knownNamespaces
45,358
boolean () { return false; }
hasNamespaceDeclarations
45,359
XmlTagValue () { return new XmlTagValue() { @Override public XmlTagChild @NotNull [] getChildren() { return XmlTagChild.EMPTY_ARRAY; } @Override public XmlText @NotNull [] getTextElements() { return XmlText.EMPTY_ARRAY; } @NotNull @Override public String getText() { return ""; } @NotNull @Override public TextRange getT...
getValue
45,360
String () { return ""; }
getText
45,361
TextRange () { throw new IncorrectOperationException(); }
getTextRange
45,362
String () { return ""; }
getTrimmedText
45,363
void (String value) { }
setText
45,364
void (String value) { }
setEscapedText
45,365
boolean () { return false; }
hasCDATA
45,366
XmlNSDescriptor (@NonNls String namespace, boolean strict) { return null; }
getNSDescriptor
45,367
boolean () { return false; }
isEmpty
45,368
void () { }
collapseIfEmpty
45,369
String (@NonNls String qname) { return null; }
getSubTagText
45,370
XmlTag () { return null; }
getParentTag
45,371
XmlTagChild () { return null; }
getNextSiblingInTag
45,372
XmlTagChild () { return null; }
getPrevSiblingInTag
45,373
boolean (PsiElementProcessor processor, PsiElement place) { return false; }
processElements
45,374
Language () { throw new IncorrectOperationException(); }
getLanguage
45,375
PsiManager () { return null; }
getManager
45,376
PsiElement () { return null; }
getParent
45,377
PsiElement () { return null; }
getFirstChild
45,378
PsiElement () { return null; }
getLastChild
45,379
PsiElement () { return null; }
getNextSibling
45,380
PsiElement () { return null; }
getPrevSibling
45,381
TextRange () { return null; }
getTextRange
45,382
int () { return 0; }
getStartOffsetInParent
45,383
int () { return 0; }
getTextLength
45,384
PsiElement (int offset) { return null; }
findElementAt
45,385
PsiReference (int offset) { return null; }
findReferenceAt
45,386
int () { return 0; }
getTextOffset
45,387
String () { return null; }
getText
45,388
PsiElement () { return null; }
getNavigationElement
45,389
PsiElement () { return null; }
getOriginalElement
45,390
boolean (@NotNull @NonNls CharSequence text) { return false; }
textMatches
45,391
boolean (@NotNull PsiElement element) { return false; }
textMatches
45,392
boolean (char c) { return false; }
textContains
45,393
void (@NotNull PsiElementVisitor visitor) { }
accept
45,394
void (@NotNull PsiElementVisitor visitor) { }
acceptChildren
45,395
PsiElement () { return null; }
copy
45,396
boolean () { return false; }
isValid
45,397
boolean () { return false; }
isWritable
45,398
PsiReference () { return null; }
getReference
45,399
boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, @Nullable PsiElement lastParent, @NotNull PsiElement place) { return false; }
processDeclarations