Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45b502a

Browse files
committed
Java: add missing QLDoc for GWT.qll, GwtUiBinder.qll, GwtXml.qll
1 parent 0d8d577 commit 45b502a

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

java/ql/src/semmle/code/java/frameworks/gwt/GWT.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes and predicates for working with the GWT framework. */
2+
13
import java
24
import GwtXml
35
import GwtUiBinder

java/ql/src/semmle/code/java/frameworks/gwt/GwtUiBinder.qll

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,44 @@
88
import java
99
import GwtUiBinderXml
1010

11+
/**
12+
* An annotation in the package `com.google.gwt.uibinder.client`.
13+
*/
1114
class GwtUiBinderClientAnnotation extends Annotation {
1215
GwtUiBinderClientAnnotation() { getType().getPackage().hasName("com.google.gwt.uibinder.client") }
1316
}
1417

18+
/**
19+
* A `@com.google.gwt.uibinder.client.UiHandler` annotation.
20+
*/
1521
class GwtUiHandlerAnnotation extends GwtUiBinderClientAnnotation {
1622
GwtUiHandlerAnnotation() { getType().hasName("UiHandler") }
1723
}
1824

25+
/**
26+
* A `@com.google.gwt.uibinder.client.UiField` annotation.
27+
*/
1928
class GwtUiFieldAnnotation extends GwtUiBinderClientAnnotation {
2029
GwtUiFieldAnnotation() { getType().hasName("UiField") }
2130
}
2231

32+
/**
33+
* A `@com.google.gwt.uibinder.client.UiTemplate` annotation.
34+
*/
2335
class GwtUiTemplateAnnotation extends GwtUiBinderClientAnnotation {
2436
GwtUiTemplateAnnotation() { getType().hasName("UiTemplate") }
2537
}
2638

39+
/**
40+
* A `@com.google.gwt.uibinder.client.UiFactory` annotation.
41+
*/
2742
class GwtUiFactoryAnnotation extends GwtUiBinderClientAnnotation {
2843
GwtUiFactoryAnnotation() { getType().hasName("UiFactory") }
2944
}
3045

46+
/**
47+
* A `@com.google.gwt.uibinder.client.UiConstructor` annotation.
48+
*/
3149
class GwtUiConstructorAnnotation extends GwtUiBinderClientAnnotation {
3250
GwtUiConstructorAnnotation() { getType().hasName("UiConstructor") }
3351
}

java/ql/src/semmle/code/java/frameworks/gwt/GwtXml.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/** Provides classes and predicates for working with `*.gwt.xml` files. */
2+
13
import semmle.code.xml.XML
24

35
/**

0 commit comments

Comments
 (0)