|
|||||||||||||||||||
| This license of Clover is provided to support the development of JBind only. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover. | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| ASTTypeDeclaration.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 |
/* |
|
| 2 |
* JBind |
|
| 3 |
* |
|
| 4 |
* Copyright (c) by Stefan Wachter. All rights reserved. |
|
| 5 |
* |
|
| 6 |
* Usage, modification, and redistribution is subject to license terms that are |
|
| 7 |
* available at 'http://www.jbind.org'. The JBind license is like the |
|
| 8 |
* 'Apache Software License V 1.1'. |
|
| 9 |
*/ |
|
| 10 |
package org.jbind.javaParser; |
|
| 11 |
|
|
| 12 |
public class ASTTypeDeclaration {
|
|
| 13 |
|
|
| 14 |
private ASTUnmodifiedClassDeclaration myClassDeclaration = null; |
|
| 15 |
private ASTUnmodifiedInterfaceDeclaration myInterfaceDeclaration = null; |
|
| 16 |
|
|
| 17 | 8 |
public ASTTypeDeclaration() {}
|
| 18 |
|
|
| 19 | 8 |
public ASTUnmodifiedClassDeclaration getClassDeclaration() {
|
| 20 | 8 |
return myClassDeclaration; |
| 21 |
} |
|
| 22 | 4 |
public void setClassDeclaration(ASTUnmodifiedClassDeclaration aClassDeclaration) {
|
| 23 | 4 |
myClassDeclaration = aClassDeclaration; |
| 24 |
} |
|
| 25 |
|
|
| 26 | 8 |
public ASTUnmodifiedInterfaceDeclaration getInterfaceDeclaration() {
|
| 27 | 8 |
return myInterfaceDeclaration; |
| 28 |
} |
|
| 29 | 4 |
public void setInterfaceDeclaration(ASTUnmodifiedInterfaceDeclaration anInterfaceDeclaration) {
|
| 30 | 4 |
myInterfaceDeclaration = anInterfaceDeclaration; |
| 31 |
} |
|
| 32 |
|
|
| 33 |
} |
|
| 34 |
|
|
||||||||||