forked from redhat-developer/quarkus-ls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide qute.nativeImages.enabled setting
Fixes redhat-developer#629 Signed-off-by: azerr <azerr@redhat.com>
- Loading branch information
1 parent
f7ef2e8
commit 8bfdfd3
Showing
20 changed files
with
800 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
...jdt/com.redhat.qute.jdt/src/main/java/com/redhat/qute/commons/TemplateDataAnnotation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2021 Red Hat Inc. and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat Inc. - initial API and implementation | ||
*******************************************************************************/ | ||
package com.redhat.qute.commons; | ||
|
||
import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; | ||
|
||
/** | ||
* '@io.quarkus.qute.TemplateData' annotation. | ||
* | ||
* @author Angelo ZERR | ||
* | ||
*/ | ||
public class TemplateDataAnnotation { | ||
|
||
/** | ||
* If set to true do not automatically analyze superclasses. | ||
*/ | ||
private Boolean ignoreSuperclasses; | ||
|
||
public boolean isIgnoreSuperclasses() { | ||
return ignoreSuperclasses != null && ignoreSuperclasses.booleanValue(); | ||
} | ||
|
||
public void setIgnoreSuperclasses(Boolean ignoreSuperclasses) { | ||
this.ignoreSuperclasses = ignoreSuperclasses; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
ToStringBuilder b = new ToStringBuilder(this); | ||
b.add("ignoreSuperclasses", this.isIgnoreSuperclasses()); | ||
return b.toString(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
qute.ls/com.redhat.qute.ls/src/main/java/com/redhat/qute/commons/TemplateDataAnnotation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2021 Red Hat Inc. and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Red Hat Inc. - initial API and implementation | ||
*******************************************************************************/ | ||
package com.redhat.qute.commons; | ||
|
||
import org.eclipse.xtext.xbase.lib.util.ToStringBuilder; | ||
|
||
/** | ||
* '@io.quarkus.qute.TemplateData' annotation. | ||
* | ||
* @author Angelo ZERR | ||
* | ||
*/ | ||
public class TemplateDataAnnotation { | ||
|
||
/** | ||
* If set to true do not automatically analyze superclasses. | ||
*/ | ||
private Boolean ignoreSuperclasses; | ||
|
||
public boolean isIgnoreSuperclasses() { | ||
return ignoreSuperclasses != null && ignoreSuperclasses.booleanValue(); | ||
} | ||
|
||
public void setIgnoreSuperclasses(Boolean ignoreSuperclasses) { | ||
this.ignoreSuperclasses = ignoreSuperclasses; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
ToStringBuilder b = new ToStringBuilder(this); | ||
b.add("ignoreSuperclasses", this.isIgnoreSuperclasses()); | ||
return b.toString(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.