Coverage Report - com.sun.javafx.runtime.location.BooleanConstant
 
Classes in this File Line Coverage Branch Coverage Complexity
BooleanConstant
70%
7/10
N/A
0
 
 1  
 package com.sun.javafx.runtime.location;
 2  
 
 3  
 /**
 4  
  * BooleanConsatnt
 5  
  *
 6  
  * @author Brian Goetz
 7  
  */
 8  13
 public class BooleanConstant extends AbstractConstantLocation<Boolean> implements BooleanLocation {
 9  
     private boolean $value;
 10  
 
 11  
     public static BooleanLocation make(boolean value) {
 12  23
         return new BooleanConstant(value);
 13  
     }
 14  
 
 15  23
     protected BooleanConstant(boolean value) {
 16  23
         this.$value = value;
 17  23
     }
 18  
 
 19  
 
 20  
     public boolean getAsBoolean() {
 21  10
         return $value;
 22  
     }
 23  
 
 24  
     public Boolean get() {
 25  13
         return $value;
 26  
     }
 27  
 
 28  
     public boolean setAsBoolean(boolean value) {
 29  0
         throw new UnsupportedOperationException();
 30  
     }
 31  
 
 32  
     public boolean setAsBooleanFromLiteral(boolean value) {
 33  0
         throw new UnsupportedOperationException();
 34  
     }
 35  
 
 36  0
     public void addChangeListener(BooleanChangeListener listener) { }
 37  
 }